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 698223 - C++11 keyword alignas not supported
C++11 keyword alignas not supported
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.3.1
Other All
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2013-04-17 18:27 UTC by w.shane.grant
Modified: 2013-05-19 12:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Testcase (80.12 KB, application/x-zip-compressed)
2013-04-18 01:18 UTC, Kevin McBride
Details

Description w.shane.grant 2013-04-17 18:27:50 UTC
C++11 introduces a new alignment specifier, alignas (http://en.cppreference.com/w/cpp/language/alignas), that Doxygen seems to not support yet.

If a class or struct is declared with alignas, the specifier will appear between "struct/class" and the name of the struct or class, e.g.:

struct alignas(16) MyStruct {};

Doxygen will not interpret this as a struct or class and fail to produce any documentation.
Comment 1 Kevin McBride 2013-04-18 01:18:43 UTC
Created attachment 241787 [details]
Testcase
Comment 2 Kevin McBride 2013-04-18 01:20:51 UTC
Thank you for taking time to report this bug.  I have confirmed the bug as shown in my testcase.  Hopefully, a doxygen developer will be willing to take on the task of implementing the C++11 extension alignas().
Comment 3 Dimitri van Heesch 2013-05-01 19:52:02 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 4 Dimitri van Heesch 2013-05-19 12:35:43 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.4. 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.