GNOME Bugzilla – Bug 729063
Missing link for item inside the same namespace
Last modified: 2014-12-25 16:03:14 UTC
Consider the following piece of cpp code. The problem is described as a comment inside the code. ---------- /// this is the global namespace namespace Namespace{ // uncomment to make the bug disappear : //using namespace Namespace; /// this is a struct struct Struct { }; /// this is a class class Class { public: /// A function /// /// Detailed description static void function( Struct s); // correct : link to Struct is present in the function documentation }; /// A function in the namespace /// /// Detailed description void function( Struct s); // BUG : link to Struct is missing in the Function Documentation ! } The missing link bug is illustrated HERE ("Struct" is not clickable, when it should be) : http://prenomstat.com/doxygenNsLinkBug/namespace_namespace.html#a5d888a5b4762a99391bc79460452a662 Strangely enough : - Within a class instead of a namespace, this problem does not appear - The problem disappears when writing "using namespace Namespace;" after starting "namespace Namespace {" !! But of course this is not clean at all. This problem has been observed with doxygen 1.8.6 and 1.8.7. Hope you will find a solution.
Created attachment 290827 [details] Test Case A sample project was not provided but with version 1.8.8 I was able to reproduce this bug. Attached is a sample project with the basic Doxyfile generated by "doxygen -g"
Confirmed. Should be fixed in the next GIT update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.9. 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 (preferrably in the form of a self-contained example).