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

[C++] stall on preprocessing macro with a comment including an apostrophe (Origin: bugzilla #690629) #5001

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant

doxygen commented Jul 2, 2018

status VERIFIED severity normal in component general for ---
Reported in version 1.8.2 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2012-12-21 23:55:46 +0000, Wilfred Mott wrote:

Created attachment 232100

I stumbled on it while trying to generate docs for Firefox, here's a minimized testcase:


#include "a.h"

#define N(f)

enum e {
#define M N
#include "a.h"


#define M

A |

#undef M

With MACRO_EXPANSION enabled (all other settings are default), this example causes Doxygen 1.8.2 to stall on preprocessing a.cpp (100% core usage, runs infinitely).

OS: Windows 7 SP1

On 2012-12-22 10:50:02 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next release.

On 2012-12-26 16:09:07 +0000, Dimitri van Heesch wrote:

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

On 2012-12-27 00:43:13 +0000, Wilfred Mott wrote:

Verified fixed in doxygen 1.8.3. Thanks, Dimitri!

@doxygen doxygen closed this Jul 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment