My C++ project uses a macro as an alias for a globally defined engine, for brevity. The macro definition is as follows:
#define gEngine theApp.m_Engine
This permits engine methods to be called as follows:
gEngine.foo();
Unfortunately such calls appear in the References section of class documents as just "gEngine." which is not correct. If I edit my source and replace gEngine.foo() with theApp.m_Engine.foo(), the references are OK.
My config file definitely has ENABLE_PREPROCESSING and MACRO_EXPANSION set to YES. Could I have found an actual issue with doxygen or am I missing something?
My C++ project uses a macro as an alias for a globally defined engine, for brevity. The macro definition is as follows:
This permits engine methods to be called as follows:
Unfortunately such calls appear in the References section of class documents as just "gEngine." which is not correct. If I edit my source and replace gEngine.foo() with theApp.m_Engine.foo(), the references are OK.
My config file definitely has ENABLE_PREPROCESSING and MACRO_EXPANSION set to YES. Could I have found an actual issue with doxygen or am I missing something?
Best regards,
Chris
http://chordease.sourceforge.net/
Last edit: Chris Korda 2015-05-08