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 606104 - Deprecated list: Wrong prefix '<globalScope>::' for global functions
Deprecated list: Wrong prefix '<globalScope>::' for global functions
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.9.1
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-01-05 13:43 UTC by Hubert Mackenberg
Modified: 2015-12-30 10:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hubert Mackenberg 2010-01-05 13:43:12 UTC
For global functions the prefix '<globalScope>::' is used in the deprecated list. The prefix is confusing, it was not present in version 1.6.1

For the example below the Doxygen 1.6.2 deprecated list is:

   Member <globalScope>::foo (void)
       This function is deprecated. 

For Doxygen 1.6.1 and version before the list is:

   Member foo
       This function is deprecated. 

Example:

1. Create a file test.h with this contents:

        /** \defgroup test Test
         ** @{
         **/

        /** Just a test.
         **
         ** @deprecated This function is deprecated.
         **/
        int foo(void);

        // @}

2. Create an default configuration file using:

      doxygen -g

3.  In Doxfile, set:

     INPUT = test.h

4. Run doxygen:

     doxygen
Comment 1 Dimitri van Heesch 2010-01-31 16:18:12 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2010-02-21 12:57:37 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.6.3. 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.
Comment 3 Hubert Mackenberg 2015-01-13 07:28:55 UTC
The problem now appears in version 1.8.9.1.
Using the example given above we now get:

html/deprecated.html:

   Deprecated List 

   globalScope> Member foo (void)

      This function is deprecated. 


There is an 'globalScope>' added.
Comment 4 albert 2015-12-06 17:09:22 UTC
I've just pushed a proposed solution to github (pull request  418)

This is a regression from Bug 740218 - Full scope needed when making link inside cross-referenced section [with test case]
Comment 5 albert 2015-12-11 18:08:10 UTC
Code has been integrated into github (December 10,  2015. git ID b103d9056cf20cf856ed5ca114950dab642b3f6f)
Comment 6 Dimitri van Heesch 2015-12-30 10:20:10 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.11. 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 (preferably in the form of a self-contained example).