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 651611 - c++ namespace and typedef/enums not linked
c++ namespace and typedef/enums not linked
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: build
1.7.4
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-06-01 07:21 UTC by bugzilla
Modified: 2011-08-14 14:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
image to show the differences (118.97 KB, image/png)
2011-06-01 07:22 UTC, bugzilla
Details

Description bugzilla 2011-06-01 07:21:22 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__
Comment 1 bugzilla 2011-06-01 07:22:19 UTC
Created attachment 188974 [details]
image to show the differences
Comment 2 Dimitri van Heesch 2011-06-01 20:40:05 UTC
The broken links are indeed a bug. As a workaround you could document the namespace.
Comment 3 bugzilla 2011-06-05 22:06:08 UTC
thx for the hint documenting the namespace. this helped indeed to fix that problem.
Comment 4 Dimitri van Heesch 2011-08-14 14:04:37 UTC
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.