New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c++ namespace and typedef/enums not linked (Origin: bugzilla #651611) #4281

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component build for ---
Reported in version 1.7.4 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2011-06-01 07:21:22 +0000, bugzilla@eib4fun.de wrote:

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__

On 2011-06-01 07:22:19 +0000, bugzilla@eib4fun.de wrote:

Created attachment 188974
image to show the differences

On 2011-06-01 20:40:05 +0000, Dimitri van Heesch wrote:

The broken links are indeed a bug. As a workaround you could document the namespace.

On 2011-06-05 22:06:08 +0000, bugzilla@eib4fun.de wrote:

thx for the hint documenting the namespace. this helped indeed to fix that problem.

On 2011-08-14 14:04:37 +0000, Dimitri van Heesch wrote:

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.

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment