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 665778 - bug in comma treatment for C++ enums
bug in comma treatment for C++ enums
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: documentation
1.7.6
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-12-08 10:30 UTC by Peter Zajac
Modified: 2011-12-10 20:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
minimal example to reproduce the bug (316 bytes, text/plain)
2011-12-08 10:30 UTC, Peter Zajac
Details

Description Peter Zajac 2011-12-08 10:30:36 UTC
Created attachment 203052 [details]
minimal example to reproduce the bug

It seems like doxygen treats every comma in an C++ enumeration as a separator indicating that the next enumerator in the list is following. This leads to incorrect documentation of the enum if the expression defining the value of an enumerator contains a comma, e.g. when used to specify a template argument list for meta-programming.
See the 'Bar' class in the attached file for a minimal example to reproduce this bug.
Comment 1 Dimitri van Heesch 2011-12-10 10:43:24 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2011-12-10 20:39:24 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.6.1. 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.