GNOME Bugzilla – Bug 694631
Invalid warning in conditional block
Last modified: 2013-05-19 12:36:45 UTC
BobSystem.h(17,0): warning: Member bobExport (macro definition) of file BobSystem.h is not documented. Th following file generates this warning /// @file #if !defined bob_BobSystem_h #define bob_BobSystem_h /// @cond MSC #if defined _MSC_VER #define Export _declspec(dllexport) #define Import _declspec(dllimport) #endif /// @endcond /// @cond EXPORTS #if defined BOBLIB_EXPORTS #define bobExport Export #else #define bobExport Import // error generated here #endif /// @endcond #endif // bob_BobSystem_h
Confirmed. Should be fixed in the next subversion update.
*** Bug 694632 has been marked as a duplicate of this bug. ***
I can confirm the bug, happy to hear that it is fixed :-) I see another bug that is probably related to this. example code (written from memory): ------------------------- ///@cond priv #define FOO bar /**< zoo */ #define BOZO babu /**< buba */ ///@endcond void f (void) { call(FOO); } ------------------------ I get the same warning If i put ENABLED_SECTIONS priv in config I get warning: documentation for unknown define FOO found. Can you confirm this is same bug or do i need to create new?
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.