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 632217 - Missing location reference (file and line number) in warning message
Missing location reference (file and line number) in warning message
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.7.2
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-10-15 14:15 UTC by Olaf Tauber
Modified: 2015-07-30 19:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch with example code (20.36 KB, application/x-compressed)
2010-10-15 14:15 UTC, Olaf Tauber
Details

Description Olaf Tauber 2010-10-15 14:15:22 UTC
Created attachment 172423 [details]
proposed patch with example code

In warning messages from doxygen sometimes file and line numbers are missing, instead "<FOO>:1:" is given as location reference. This happens, when no detailed documentation section for an element is available (only brief description).
I think, Definition::docLine() and Definition::docFile() should also look at 
m_impl->brief when m_impl->details is 0.
Comment 1 Clemens 2010-11-03 10:03:26 UTC
Maybe this is related to Bug 633891 "warning for "lonely <li> tag" does not tell file name nor line number". 
Note that the example code to reproduce Bug 633891 is also much smaller.
Comment 2 albert 2015-07-29 14:52:10 UTC
The problem with the <FOO> is present in the version 1.7.2 in the version 1.8.10 the right file name is given.

I think the problem has been solved in the mean time.
Comment 3 Dimitri van Heesch 2015-07-30 19:15:05 UTC
Setting to fixed as suggested. Please reopen this bug report if you still see this issue with the latest version of doxygen. Add a self-contained example (source+config file in a zip or tar) if possible.