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 365053 - Wrong reference to ::classname
Wrong reference to ::classname
Status: RESOLVED OBSOLETE
Product: doxygen
Classification: Other
Component: general
1.5.0
Other All
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
[moved_to_github]
Depends on:
Blocks:
 
 
Reported: 2006-10-25 17:27 UTC by Wolfgang Bangerth
Modified: 2018-07-30 10:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Wolfgang Bangerth 2006-10-25 17:27:42 UTC
Please describe the problem:
I thought this may have been fixed by PR 355922, but it wasn't. In any
case, here's an input file:
-------------------
/** Text 1 */
class A
{};

namespace N
{
  /** Text 2 */
  class A
  {
      A (::A &);
  };
}
----------------
Note how N::A::A takes a reference to ::A as argument. However, in the
generated documentation, doxygen ignores the global scope :: operator
and looks up A in the present scope, leading to a link to N::A when one
clicks on the argument's type.

Steps to reproduce:
Run above sample code through doxygen. Observe the output. 


Actual results:
We get a reference to N::A

Expected results:
I want a reference to ::A

Does this happen every time?
Yup

Other information:
No, but great program. Generates many 1000 pages of documentation for us
every night :-)
Comment 1 Marcus Lindblom 2007-08-29 07:57:18 UTC
I have an issue related to this, I think:

class Foo
{
   typedef ::Bar MyBar;
}

This shows up in doxygen as a public attribute:

typedef::Bar MyBar;

where the entire 'typedef::Bar' is a href-link to Bar. We don't have any clashes, but the output is a bit odd. 
Comment 2 André Klapper 2018-07-30 10:32:05 UTC
As discussed in https://github.com/doxygen/doxygen/pull/734 , Doxygen has moved its issue tracking to 

   https://github.com/doxygen/doxygen/issues

All Doxygen tickets in GNOME Bugzilla have been migrated to Github. You can subscribe and participate in the new ticket in Github. You can find the corresponding Github ticket by searching for its Bugzilla ID (number) in Github.

Hence I am closing this GNOME Bugzilla ticket.
Please use the corresponding ticket in Github instead. Thanks a lot!