Book a Demo

Author Topic: c++ enum gets wrong namespace  (Read 3371 times)

tomsky

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
c++ enum gets wrong namespace
« on: August 29, 2009, 12:59:42 am »
I'm working with EA 7.5 build 845. After importing a C++ source directory with option 'generate package per namespace' and re-generating the code for a class SomeNamespace::classA containing an enumeration MY_ENUM, EA replaces all occurences of MY_ENUM in the class by SomeNamespace::MY_ENUM (leaving off the classname) - which obviously does not compile any longer, since the enum lives in the class and not in the namespace above. Is EA lacking support of enum declarations inside of a class? Or am I missing a configuration detail?