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

Block comment like characters in print break parsing within an #ifdef (Origin: bugzilla #620229) #3787

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

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

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

Original attachment names and IDs:

On 2010-06-01 07:47:31 +0000, kremers@gns-mbh.com wrote:

Created attachment 162434
C-File to reproduce the bug. just run doxygen on it

a print containing a literal "/*" can break parsing, if enclosed in the ignored branch of an #ifdef. See attached file for example.

The doxygen.log is clean; there are no errors or warnings.

The workaround is to put a comment in the line causing the problem, which to find is the larger problem.

replace
sprintf(filename, "%s/.", dirname);
by
sprintf(filename, "%s/.", dirname); /* workaround */
and it works.

On 2010-06-11 13:07:57 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next subversion update.

On 2010-06-15 11:21:34 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.0. 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 2010-06-15 12:26:45 +0000, kremers@gns-mbh.com wrote:

Confirm fix in 1.7.0. Thank you.

@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