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

Not all info is written out in case of preprocessing (Origin: bugzilla #669406) #4561

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

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status VERIFIED severity normal in component general for ---
Reported in version 1.7.6.1-SVN on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2012-02-05 13:36:16 +0000, albert wrote:

In case the -d preprocessor option is used in combination with the QUIET option in the Doxyfile, not all the information is written to the output.

Example:
input file aa.F:
subroutine tst
end subroutine

Used the standard Doxyfile with only QUIET set to YES.

The output of: $ doxygen.exe -d preprocessor
subroutine tst
00002 end subroutine
00003
00004

The output should be: $ doxygen.exe -d preprocessor

00001 subroutine tst
00002 end subroutine
00003
00004

Macros accessible in this file:


On 2012-02-05 13:41:53 +0000, albert wrote:

Created attachment 206821
PATCH write debug output of preprocessor to stdout with printf

Write all the debug output of the -d preprocessor option with printf to stdout instead of writing it through the msg call. msg calls won't print in case of the option QUIET = YES (see also pdf documentation Chapter 8 Preprocessing the Hint at the end of the chapter regarding using -d Preprocessor)

On 2012-02-05 13:58:43 +0000, Dimitri van Heesch wrote:

Hi Albert,

Instead of using msg or printf, I'll use

Debug::print(Debug::Preprocessor,0,"...");

which was intended for debug prints.

On 2012-02-05 14:08:44 +0000, albert wrote:

Hi Dimitri,

Thanks for the tip.
I saw that there are a few more msg calls in the file pre.l with the Debug::Preprocessor (one just above the things I changed)

On 2012-02-25 15:37:30 +0000, Dimitri van Heesch wrote:

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

On 2012-02-25 20:00:44 +0000, albert wrote:

debug output is written as expected

@doxygen doxygen closed this Jul 19, 2018

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