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 653801 - Include guard detection problem
Include guard detection problem
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: build
1.7.4
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-07-01 09:30 UTC by pavy
Modified: 2011-08-14 14:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description pavy 2011-07-01 09:30:40 UTC
File test.h

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

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


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

Luca
Comment 1 Dimitri van Heesch 2011-07-03 10:56:49 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2011-08-14 14:05:27 UTC
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.