Skip to content
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

Include guard detection problem (Origin: bugzilla #653801) #4324

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant
Copy link

doxygen commented Jul 2, 2018

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

On 2011-07-01 09:30:40 +0000, wrote:

File test.h

#ifndef PIPPO
#define PIPPO
// Block A
#include "a.h"
char a;

#ifdef PIPPO
// Block B
#include "b.h"
char b;

Block B is omitted.

Work around, define 2 times PIPPO:
#ifndef PIPPO
#define PIPPO
#define PIPPO
// Block A

Or include Block B in Block A. In this example I can do, in other cases I can not.

Best Regards


On 2011-07-03 10:56:49 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next subversion update.

On 2011-08-14 14:05:27 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.5. 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
You can’t perform that action at this time.