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 774273 - INLINE_SIMPLE_STRUCTS with enums in classes does not work
INLINE_SIMPLE_STRUCTS with enums in classes does not work
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
unspecified
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2016-11-11 15:47 UTC by Felix Ramold
Modified: 2017-01-02 07:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
testfile for reproduction (348 bytes, text/plain)
2016-11-11 15:47 UTC, Felix Ramold
Details

Description Felix Ramold 2016-11-11 15:47:05 UTC
Created attachment 339629 [details]
testfile for reproduction

When using an enum in a class or struct, it is not correctly inlined. I guess the class is not really simple ;). I checked Bug 709226, and this is not the same.

Reproduction:
generate new doxyfile (doxygen -g)
add attached file to config
run doxygen
-> enums values are in the class page

change INLINE_SIMPLE_STRUCTS to yes
run doxygen
-> no class page, enum values are not in class section.

Note: i am running V1.8.9.3 on Windows.

Greetings,
Felix
Comment 1 Dimitri van Heesch 2016-11-13 10:04:34 UTC
Confirmed, enum declarations do not fit in simple structs/classes. Should be fixed in the next GIT update.
Comment 2 Dimitri van Heesch 2016-12-29 18:45:54 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.13. 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 (preferably in the form of a self-contained example).
Comment 3 Felix Ramold 2017-01-02 07:36:14 UTC
Thanks.

I just checked: In 1.8.13 (windows), for case 2 of my example, a class page with the enum is created.