GNOME Bugzilla – Bug 617051
Preprocessor doesn't work with Inline Guard Macro
Last modified: 2010-06-15 11:22:34 UTC
Created attachment 159764 [details] Minimal Example Hello, I recognized that Doxygen doesn't expand macros in an .ipp file which were included at a header file, when the macros were #undef'ed after the #include. This may appear when you're using the Inline Guard Macro idiom. I attached a minimal example.
Hi Florian, Doxygen assumes each file is self-contained (i.e. has proper include guards), which your example does not have. However, using PREDEFINED, as you did, one should always be able to overrule any macro definition and this was not working properly. I'll correct this in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.7.0. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant.