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 722940 - classes with same name in different namespace adding to same group
classes with same name in different namespace adding to same group
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.6-GIT
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2014-01-24 22:16 UTC by Timo Heister
Modified: 2015-01-01 10:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Timo Heister 2014-01-24 22:16:06 UTC
I have several c++ classes with the same name in different namespaces and they all should be in the same namespace/group. Example:

/**
 * \defgroup test  
 */

namespace temp1
{
  /**
   * \ingroup test
   */
  class MyClass
  {};
}

namespace temp2
{
  /**
   * \ingroup test
   */
  class MyClass
  {};
}

/**
 * \ingroup test
 */
class MyClass
{};


The group test only contains the first of the three MyClass classes. Expected: see all three of them. Variations with \addtogroup don't work. Changing the name MyClass to MyClass1 works.

This is tested with the latest release and the git HEAD of today.
Comment 1 Timo Heister 2014-01-24 22:17:15 UTC
> "and they all should be in the same namespace/group."

Sorry, I meant to say "and they all should be in the same module/group."
Comment 2 ljh.bugzilla 2014-12-10 12:48:07 UTC
I've proposed a workaround as pull request: https://github.com/doxygen/doxygen/pull/261
Comment 3 Dimitri van Heesch 2015-01-01 10:57:26 UTC
Pull request has been merged. Available in 1.8.9.