New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning reporting slightly inconsistent; trivial to fix (Origin: bugzilla #681733) #4846

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity trivial in component general for ---
Reported in version 1.8.2 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2012-08-13 09:00:02 +0000, pilot_pirx@gmx.de wrote:

Most doxygen warnings include the string "warning: ", but some have it capitalized and some are missing it entirely (and are neither marked as "error:"). This makes grepping and counting the number of warnings a bit awkward. If the reporting were more consistent, the number of warnings could be determined correctly with 'fgrep -c'. As is, the number is slightly off.

Please s/Warning/warning/ in this message:

file.c:42: Warning: include file foo.h not found, perhaps you forgot to add its directory to INCLUDE_PATH?

Please add "warning: " or "error: " to this message:

file.c:42: Trying to add group FOO to itself!

These are the two that I encountered on my code, there may be more I haven't spotted yet.

On 2013-05-01 13:16:29 +0000, albert wrote:

Created attachment 242991
PATCH: consistent jandling Errors and Warnings

This patch makes the handling of the errors and warnings a bit more consistent. When using the routines warn, warn_.... the text "Warning: " is automatically placed in front of the text. In case of the routine "err" the text "Error: " is automatically placed in front of the text.
In all calls to these routines the words like warning / error at the beginning of the text have been removed.
In case a call to "err" had the word "waring" as first word these calls have been replaced with a call to the new function warn_uncond (warn unconditionally).
In case a call to "err" had the word "notice" as first word these calls have been replaced with a call to the function msg.

On 2013-05-11 14:37:08 +0000, Dimitri van Heesch wrote:

Thanks, I'll include the patch in the next subversion update.

On 2013-05-19 12:35:47 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.4. 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.

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment