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 755939 - Warning refers to incorrect line for undocumented member function (C++)
Warning refers to incorrect line for undocumented member function (C++)
Status: VERIFIED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.11-GIT
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2015-10-01 13:28 UTC by csaba_22
Modified: 2016-01-12 11:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description csaba_22 2015-10-01 13:28:56 UTC
When warning about undocumented member functions, the reported line number is that of the class, not the undocumented member function.

For example, when generating docs for the following class:
/** A small man
*/
struct miniman { // <--------- line 3
        /// Here's some documentation
        void doc();

        void undoc(); // <--------- line 7
};

I get the following warning:

/tmp/miniman.h:3: warning: Member undoc() (function) of class miniman is not documented.

The line number should be that of the undocumented member, i.e. line 7

$ doxygen --version
1.8.11
Comment 1 csaba_22 2015-10-02 09:15:54 UTC
Note: works correctly with 1.8.9.1
Comment 2 Dimitri van Heesch 2015-12-28 18:56:00 UTC
Confirmed. Should be fixed in the next GIT update.
Comment 3 Dimitri van Heesch 2015-12-30 10:20:24 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).
Comment 4 csaba_22 2016-01-12 11:47:06 UTC
Verified with 1.8.11 release.