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 615583 - copydoc of const qualified operators fails
copydoc of const qualified operators fails
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.6.3
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-04-12 21:46 UTC by David Ritter
Modified: 2010-06-15 11:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Ritter 2010-04-12 21:46:55 UTC
Given the following testcase:

/**
 * @defgroup test Test
 */

/**
 * @ingroup test
 *
 * Test class
 */
struct Test_fn_1
{
public:

  /**
   * function call operator
   */
  void operator()(int) const;

  /**
   * @copydoc operator()(int)const
   */
  void operator()(int);
};

Copydoc does not seem to know about the const qualifier on the operators.

The following error message occurs while running doxygen:

Generating docs for compound Test_fn_1...
C:/Workspace/doxygen-svn/bin/debug/test.h:19: Warning: target operator()(int) of \copydoc command not found

I tried debugging through the code to see what was going on and the best I can tell the lex code for operators is not checking for a const qualifier on those methods.
Comment 1 Dimitri van Heesch 2010-04-13 20:52:46 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2010-06-15 11:22:00 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.0. 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.