Book a Demo

Author Topic: C++ code generation  (Read 3856 times)

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
C++ code generation
« on: September 15, 2015, 06:37:37 pm »
Hi
I have a model that we use for code generation and up til now this has worked perfectly.
Recently I added a new package and some classes, code gen for these works the first time around; however subsequent code generation duplicates what is already in the code file.

Even stranger is the fact that if I rename the toplevel package code generation succeeds.

So I deleted the original package and recreated it and code generation failed

EA seems to be holding some information about this package

Can anyone suggest how I might be able to track down what is going on?

The mode is stored on a SQL Server

Thanks

Using V12

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: C++ code generation
« Reply #1 on: September 16, 2015, 08:15:21 am »
Is the name of the package something that won't translate exactly to code?

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
Re: C++ code generation
« Reply #2 on: September 16, 2015, 04:49:49 pm »
Hi Simon

It turns out that the package name was named as a pre processor macro ;D ;D
Using V12