GNOME Bugzilla – Bug 641764
Generated documentation contains garbage
Last modified: 2011-02-08 20:48:46 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.
Can you check if the problem is fixed in the latest subversion snapshot?
Yes, it seems so. Why didn't I think about that myself... Thanks a lot.
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 ***