Book a Demo

Author Topic: Mixed ANSI C++, C++/CLI project  (Read 3490 times)

onsager

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Mixed ANSI C++, C++/CLI project
« on: March 13, 2012, 02:06:49 am »
@list

I have such a beast and I'm seemingly unable to import some of its parts properly from source files in 'Code Engineering'. Problem is, the only way to tweak the exact C++ source type seems to be a global/model based one.

Is it possible to do such things on a package/diagram/file-by-file base? Currently, I'm getting parse errors in some C++/CLI classes mostly caused by the  '^' operator, essentially breaking the step.  

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Mixed ANSI C++, C++/CLI project
« Reply #1 on: March 13, 2012, 08:08:18 am »
Unless something has changed since I last looked at it, there is one C++ import that serves all C++ dialects. If that's the case, it's just that EA doesn't know about the particular syntax you have used. Which means you would have to report a bug to sparx systems directly.
« Last Edit: March 13, 2012, 08:08:44 am by simonm »

onsager

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Mixed ANSI C++, C++/CLI project
« Reply #2 on: March 13, 2012, 07:30:53 pm »
> there is one C++ import that serves all C++ dialects.

Meanwhile, I can acknowledge this. For the sake of completeness:

Replacing declarations as in

XYZ^ xyz_0, ^xyz_1;

by

XYZ^ xyz_0;
XYZ^ xyz_1;

will reconcile the EA parser.