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

#if !defined(X) broken in doxygen 1.6.2 (Origin: bugzilla #606717) #3631

Closed
doxygen opened this issue Jul 2, 2018 · 0 comments
Closed

#if !defined(X) broken in doxygen 1.6.2 (Origin: bugzilla #606717) #3631

doxygen opened this issue Jul 2, 2018 · 0 comments

Comments

@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

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

Original attachment names and IDs:

On 2010-01-12 08:58:25 +0000, Matthias Klose wrote:

[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.

On 2010-01-23 19:58:25 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next subversion update.

On 2010-01-25 15:44:26 +0000, Mattias Ellert wrote:

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

On 2010-02-02 11:45:43 +0000, Mattias Ellert wrote:

Created attachment 152825
This patch works for me

The attached patch (against the 20100124 svn tag) fixes the issue for my use case.

On 2010-02-08 11:39:44 +0000, Mattias Ellert wrote:

Any chance there could be a new release soon that fixes this serious regression?

On 2010-02-08 22:18:41 +0000, Mattias Ellert wrote:

I have now tested with the doxygen-1.6.2-20100208 svn tag. I confirm that the problem is fixed in this tag.

On 2010-02-21 12:57:29 +0000, Dimitri van Heesch wrote:

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.

@doxygen doxygen closed this as completed Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant