Hi Dimitri,
this bug reappared in 1.2.8 (maybe even before, I skipped 1.2.6 & 7) :
--- start file okbug2.cpp (*ok*bug2.cpp 'coz it was fixed...)
/// ns1 dox.
/** Here we get the following warning :
E:/work/bugsdoxygen/okbug2.cpp:20: Warning: member fct1 of class ns2
cannot be found
*/
namespace ns1
{
/// ns2 dox.
namespace ns2
{
/// fct1 dox.
void fct1();
}
}
namespace ns1
{
void ns2::fct1()
{
}
}
--- end file okbug2.cpp
This is a new one :
I mistyped 'EXPORTDLL' in my doxyfile, and Doxygen went crazy, inventing
new classes :)
Maybe I should get a warning or something that my source is not valid
C++ .
Took me quite some time to find the cause :)
--- start file doxyfile extract
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = YES
EXPAND_ONLY_PREDEF = YES
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
PREDEFINED = "EXPROTDLL=" <<< when mistyped,
Doxygen goes crazy
EXPAND_AS_DEFINED =
--- end file doxyfile extract
--- start file bug5.h
/// cClass5 dox.
class EXPORTDLL cClass5
{
private:
class cIMP;
cIMP* m; ///< The implementation.
};
--- end file bug5.h
--- start file bug5.cpp
#include "bug5.h"
/// Some base class.
class cBase5
{
};
/// cIMP dox.
class EXPORTDLL cClass5::cIMP :
public cBase5
{
public:
int mMember; ///< A member.
};
--- end file bug5.cpp
Thank you for your time and Doxygen !
--
Eric Matecki
|