Hi,
In trying to resolve a problem I was having where Doxygen would not generate
any callgraph info for global functions, I updated from 1.6.3 to 1.8.3.1.
In our project, we have some classes that inherit from a common base class,
and use macros to declare the commonly-overridden methods. Using the
following set of preprocessor options with 1.6.3 worked exactly as I
expected, but does not work (i.e. macros are not expanded) in 1.8.3.1:
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = YES
EXPAND_ONLY_PREDEF = YES
SEARCH_INCLUDES = YES
INCLUDE_PATH = drivers/common/
INCLUDE_FILE_PATTERNS =
PREDEFINED = _REDACTED_1_ _REDACTED_2_ _REDACTED_3_
EXPAND_AS_DEFINED = IMPLEMENT_OBJECT_COMMON_METHODS
IMPLEMENT_OBJECT_STATIC_METHODS
EXPAND_AS_DEFINED += IMPLEMENT_OBJECT_COPYING_METHODS
DECLARE_OBJECT_SERIALIZER_METHODS
EXPAND_AS_DEFINED += IMPLEMENT_STATIC_CREATE
IMPLEMENT_OBJECT_COPYING_METHODS_ABSTRACT
EXPAND_AS_DEFINED += IMPLEMENT_SELF_REPLICATE
SKIP_FUNCTION_MACROS = NO
After running Doxygen 1.8.3.1 with a config file including the above
settings, I see "IMPLEMENT_OBJECT_COMMON_METHODS" documented as a member
property of various classes instead of being expanded to a set of method
declarations (which it was doing properly in 1.6.3).
Any help?
Thanks,
~Brian
------------------------------------------------------
Brian Henning, Software Engineer
/\ Pine Research Instrumentation
//\\ 2741 Campus Walk Ave, Bldg 100
///\\\ Durham, NC 27705
////\\\\ USA
||
|| phone: 919.782.8320
fax: 919.782.8323
email: [email protected]
------------------------------------------------------
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Doxygen-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-users