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 647889 - Invalid warning generating deprecated page
Invalid warning generating deprecated page
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.7.4
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-04-15 17:17 UTC by David Haney
Modified: 2011-08-14 14:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Haney 2011-04-15 17:17:23 UTC
For the following code:

/**
 * Class Related
 */
class Related {
  /**
   * A related static function.
   */
  static const Related& local() const;
};


/**
 * Class Test
 */
class Test {
  /**
   * @deprecated Deprecated function.
   */
  void func(const Related& r = Related::local());
};

When generating the deprecated page, the following warning is produced:

Generating docs for page deprecated...
deprecated:1: warning: explicit link request to 'local()' could not be resolved

It appears it is attempting to produce a link for 'Related::local', however since that function is documented it doesn't seem like it should be an issue.

This issue may be related to 627967, however the workaround described there doesn't seem to apply.
Comment 1 Dimitri van Heesch 2011-04-22 07:54:30 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2011-08-14 14:05:02 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.