[Uml-devel] [Bug 160287] New: C++ import does not preprocess properly #if's

vittor jean.vittor at free.fr
Thu Apr 3 00:27:34 UTC 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=160287         
           Summary: C++ import does not preprocess properly #if's
           Product: umbrello
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: umbrello-devel.kde.org
        ReportedBy: jean.vittor free fr


Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.2.2 
OS:                Linux

When importing the following code, classes Class3 & Class4 are created instead of Class2 and Class 4.


#define Zero 0
#define One 1

#if 0
class Class1 {};
#endif

#if 1
class Class2 {};
#endif

#if Zero
class Class3 {};
#endif

#if One
class Class4 {};
#endif




More information about the umbrello-devel mailing list