After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 620229 - Block comment like characters in print break parsing within an #ifdef
Block comment like characters in print break parsing within an #ifdef
Status: VERIFIED FIXED
Product: doxygen
Classification: Other
Component: general
1.6.3
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-06-01 07:47 UTC by kremers
Modified: 2010-06-15 12:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
C-File to reproduce the bug. just run doxygen on it (535 bytes, application/octet-stream)
2010-06-01 07:47 UTC, kremers
Details

Description kremers 2010-06-01 07:47:31 UTC
Created attachment 162434 [details]
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.
Comment 1 Dimitri van Heesch 2010-06-11 13:07:57 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2010-06-15 11:21:34 UTC
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.
Comment 3 kremers 2010-06-15 12:26:45 UTC
Confirm fix in 1.7.0. Thank you.