After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 617051 - Preprocessor doesn't work with Inline Guard Macro
Preprocessor doesn't work with Inline Guard Macro
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.6.3
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-04-28 08:31 UTC by Florian Kaiser
Modified: 2010-06-15 11:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Minimal Example (18.14 KB, application/x-zip-compressed)
2010-04-28 08:31 UTC, Florian Kaiser
Details

Description Florian Kaiser 2010-04-28 08:31:28 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.
Comment 1 Dimitri van Heesch 2010-05-03 20:05:28 UTC
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.
Comment 2 Dimitri van Heesch 2010-06-15 11:22:34 UTC
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.