GNOME Bugzilla – Bug 651611
c++ namespace and typedef/enums not linked
Last modified: 2011-08-14 14:04:37 UTC
in the following lines doxygen is not able to link Coord to the function calls or list it in the file description. it looks like completly broken. the html pages contains broken links to namespacekarl.html pages Die Dateien unter /H:/docs/html/namespacekarl.html#a013489fb99c6a5b012db8ec66544a507 konnten nicht gefunden werden. if you remove the namespace all is working as expected. please see the attached image for the results of both versions with and without namespaces. #ifndef doxytest_h__ #define doxytest_h__ /*! \file doxytest.h * An example of resolving typedefs. */ namespace karl { /*! \struct CoordStruct * A coordinate pair. */ struct CoordStruct { /*! The x coordinate */ float x; /*! The y coordinate */ float y; }; /*! Creates a type name for CoordStruct */ typedef CoordStruct Coord; /*! * This function returns the addition of \a c1 and \a c2, i.e: * (c1.x+c2.x,c1.y+c2.y) */ Coord add(Coord c1,Coord c2) { } } #endif // doxytest_h__
Created attachment 188974 [details] image to show the differences
The broken links are indeed a bug. As a workaround you could document the namespace.
thx for the hint documenting the namespace. this helped indeed to fix that problem.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.7.5. 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.