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 739211 - Cannot make explicit links to C++ const member functions [with test case]
Cannot make explicit links to C++ const member functions [with test case]
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.8-GIT
Other All
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2014-10-26 15:53 UTC by Vladimír Vondruš
Modified: 2014-11-16 19:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Repro/test case (403 bytes, application/zip)
2014-10-26 15:53 UTC, Vladimír Vondruš
Details

Description Vladimír Vondruš 2014-10-26 15:53:16 UTC
Created attachment 289352 [details]
Repro/test case

See attached ZIP file for minimal repro case or the following snippet:

    /** @brief Foo */
    struct Foo {
        /**
         * @brief Fun of two
         *
         * - fun() const
         * - @ref fun() const
         * - @ref fun() const "title"
         */
        static Foo fun(Foo a, Foo b);

        /** @brief Fun with itself */
        Foo fun() const;
    };

It is not possible to make explicit link to `Foo::fun() const` with @ref. In the generated HTML docs the first (implicit) link is OK and also links to the right location, the second link is done only from `foo()` (and the `const` remains non-clickable in default font) and also improperly links to `Foo::fun(Foo, Foo)`. The third one highlights `fun() const` and links to proper location, but the link title in quotes appears as `"title"` in default font after the link.

Tested with current Git (a31c9ff), but the issue appears for some time already. I'm currently working around this by using implicit reference, but I'd like to disable `AUTOLINK_SUPPORT` and have everything explicit to avoid having plain English words highlighted as links :)
Comment 1 Dimitri van Heesch 2014-11-16 15:23:54 UTC
Confirmed. Should be fixed in the next GIT update.
Comment 2 Vladimír Vondruš 2014-11-16 19:30:21 UTC
Works now, thanks!