Skip to content
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

No docu after function head followed by preproc instruction (Origin: bugzilla #121436) #810

Closed
doxygen opened this issue Jul 1, 2018 · 0 comments

Comments

@doxygen
Copy link
Owner

doxygen commented Jul 1, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.3.x on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2003-09-04 11:16:26 +0000, Hannes Heyder wrote:

Doxygen omits documentation after code constructs similar to the following:

#ifdef X
function()
#endif
{}

After the closing bracket of function waits for something else than #...

ENABLE_PREPROCESSING is set to NO.

To use @latexonly #endif @endlatexonly won't work either.

On 2003-09-13 17:32:39 +0000, Dimitri van Heesch wrote:

Is the #ifdef construct inside or outside a comment block?

On 2003-09-14 08:57:28 +0000, Hannes Heyder wrote:

Created attachment 19920
Small C program as an example the bug.

On 2003-09-14 08:58:28 +0000, Hannes Heyder wrote:

It is outside the comment block.

There is a small example file attached, let doxygen generate
a documentation (ENABLE_PREPROCESSING=NO) and take a look at
the function header of main()...

On 2004-01-27 11:00:28 +0000, morandini@aero.polimi.it wrote:

Created attachment 23795
This is a c++ example. ENABLE_PREPROCESSING = NO seems to work only if inside {}

On 2006-01-07 17:49:27 +0000, Dimitri van Heesch wrote:

I cannot reproduce the problem anymore given the example, so it seems to be fixed. Please verify this and reopen the bug if this is not the case.

@doxygen doxygen closed this as completed Jul 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant