GNOME Bugzilla – Bug 606717
#if !defined(X) broken in doxygen 1.6.2
Last modified: 2010-02-21 12:57:29 UTC
[forwarded from http://bugs.debian.org/564703] There is a bug in doxygen version 1.6.2 where #if !defined(X) is not equivalent to #ifndef X I managed to build one of my FTBFS packages with doxygen 1.6.2 if I changed all the multiple inclusion checks at the top of the header files that used the first form to use the second form instead.
Confirmed. Should be fixed in the next subversion update.
I have tested it with the doxygen-1.6.2-20100124 svn tag. It is better but not yet OK. The following now works: #if !defined(X) #define X ... #endif But the following, which should give the same result does not: #if !defined(X) #define X 1 ... #endif
Created attachment 152825 [details] [review] This patch works for me The attached patch (against the 20100124 svn tag) fixes the issue for my use case.
Any chance there could be a new release soon that fixes this serious regression?
I have now tested with the doxygen-1.6.2-20100208 svn tag. I confirm that the problem is fixed in this tag.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.6.3. 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.