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

Spurious warning in conditinal blocks (Origin: bugzilla #694632) #5093

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

Comments

Projects
None yet
1 participant
@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

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

On 2013-02-25 00:15:48 +0000, john.x.foster@nab.com.au wrote:

BobSystem.h(7,0): warning: Member ABC_PASSWORD (macro definition) of file BobSystem.h is not documented.
BobSystem.h(11,0): warning: Member NUM_PASSWORD (macro definition) of file BobSystem.h is not documented.

The following (.h) file generates these warnings:

/// @file

#if !defined bob_BobSystem_h
#define bob_BobSystem_h

/// @cond JF_TEST
#define ABC_PASSWORD "Pass"
/// @endcond

/// @cond JF_TEST
#define NUM_PASSWORD 123
/// @endcond

#endif // bob_BobSystem_h

On 2013-02-25 20:28:14 +0000, Dimitri van Heesch wrote:

Problem is that @cond .. @endcond currently is not handled correctly in the C-preprocessor, resulting in the warnings.

*** This bug has been marked as a duplicate of bug 694631 ***

@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
You can’t perform that action at this time.