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

Failure when C++ members defined using macros (Origin: bugzilla #663101) #4451

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 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2011-10-31 13:46:07 +0000, Neil Bird wrote:

Created attachment 200334
Unpack to /tmp, then run 'doxygen /tmp/doxygen/Doxyfile'.

This seems to rear its ugly head every so often, so I suspect you're tempted to ban the use of macros in doxygen input!

Attached is a C++ example that defines a member using a macro, and then the use of the macro causes an error, even though macro expansion is enabled (unless I've broken the example):

/tmp/doxygen/src/Cell.h:15: warning: Found ';' while parsing initializer list! (doxygen could be confused by a macro call without semicolon)

Unpack the attachment to /tmp; example tested on Linux, CentOS 5 doxygen

This is a cut-own example of one of a dozen or so instances of this we see on our code base, not all using the same macro. Often, the macro is parsed correctly.

On 2011-11-21 16:41:29 +0000, Dimitri van Heesch wrote:

No, I'm still trying to improve macro support, without making doxygen really slow. Hopefully I'm nearly there ;-)

I found the problem. Should be corrected in the next subversion update.

On 2011-12-03 18:22:40 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.6. 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