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 302718 - @name sections get randomly reordered
@name sections get randomly reordered
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.4.x
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2005-05-02 14:02 UTC by Matthias Klose
Modified: 2013-04-28 15:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test file (587 bytes, text/plain)
2005-05-02 14:03 UTC, Matthias Klose
Details
test file (44.51 KB, text/plain)
2005-05-02 14:03 UTC, Matthias Klose
Details

Description Matthias Klose 2005-05-02 14:02:06 UTC
Version details: 1.4.0
Distribution/Version: Debian

[forwarded from http://bugs.debian.org/294568]

Using doxygen to document a C code, and I use the @name feature to
group together elements together. The problem is that the sections get
reodered randomly in the produced documentation.

Attached is a very small test.h file and the associated Doxyfile to
reproduce the issue. After running "doxygen Doxyfile", check the
html/group__test.html file.

Althrough "a) First section" is declared on top of the file, it appears
after "b) second section".

I did quite a few googling to find a work around, but found none even 
if I don't seem to be the only one trapped by this issue. For example:
http://sourceforge.net/mailarchive/message.php?msg_id=2248741

Thanks for your time, and sorry for repporting an upstream bug here, but
I hate the sourceforge bug tracker interface....
Comment 1 Matthias Klose 2005-05-02 14:03:04 UTC
Created attachment 45936 [details]
test file
Comment 2 Matthias Klose 2005-05-02 14:03:29 UTC
Created attachment 45937 [details]
test file
Comment 3 albert 2013-04-28 14:01:33 UTC
Ran the example with version 1.4.0 and saw as order b), a), c) confirming the problem. With version 1.8.3.1 the order is a), b), c).

Looks to me that the problem has been solved in the mean time.
Comment 4 Dimitri van Heesch 2013-04-28 15:28:23 UTC
Setting to fixed as suggested. Please reopen this bug report if you still see this issue with the latest version of doxygen. Add a self-contained example (source+config file in a zip or tar) if possible.