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 641764 - Generated documentation contains garbage
Generated documentation contains garbage
Status: RESOLVED DUPLICATE of bug 639716
Product: doxygen
Classification: Other
Component: general
1.7.3
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-02-07 18:59 UTC by Lauri Kenttä
Modified: 2011-02-08 20:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Lauri Kenttä 2011-02-07 18:59:29 UTC
With the following file, called File.cpp, the generated documentation shows garbage on page namespaceNS.html.

#include "Any.hpp"
namespace NS {
	int test = 123;
}


The variable documentation looks like this:
tmp doxygentest src File cpp int 	test = 123

That is, the file path /tmp/doxygentest/src/File.cpp (but without /'s) gets prepended to the type name.

The problem is present regardless of Any.hpp contents. However, if Any.hpp does not exist, the bug disappears.

Any of the following causes the bug to disappear:
* Using <Any.hpp> instead of "Any.hpp"
* Adding empty namespace NS { } right after the include.
* Adding any other code (class, variable, function) right after the include.
* Adding /** @var */ or the like right after the include; however, /** Hello */ does not help.
Comment 1 Dimitri van Heesch 2011-02-07 19:06:50 UTC
Can you check if the problem is fixed in the latest subversion snapshot?
Comment 2 Lauri Kenttä 2011-02-07 23:08:59 UTC
Yes, it seems so. Why didn't I think about that myself... Thanks a lot.
Comment 3 Dimitri van Heesch 2011-02-08 20:48:46 UTC
Thanks for the feedback, then this is most likely the same issue as #639716

*** This bug has been marked as a duplicate of bug 639716 ***