New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preprocessor doesn't work with Inline Guard Macro (Origin: bugzilla #617051) #3752

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.6.3 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2010-04-28 08:31:28 +0000, Florian Kaiser wrote:

Created attachment 159764
Minimal Example


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.

On 2010-05-03 20:05:28 +0000, Dimitri van Heesch wrote:

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.

On 2010-06-15 11:22:34 +0000, Dimitri van Heesch wrote:

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.

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment