[v3 patch] add __GXX_RTTI to doxygen predefined macros

Jonathan Wakely jwakely.gcc@gmail.com
Sun Nov 29 17:34:00 GMT 2009


2009-11-29  Jonathan Wakely  <jwakely.gcc@gmail.com>

        * doc/doxygen/user.cfg.in: Add __GXX_RTTI to PREDEFINED macros.

This ensures that features which depend on RTTI appear in the doxygen
docs, e.g.  std::function::target_type()

Tested doc-html-doxygen target on x86_64/linux
-------------- next part --------------
Index: doc/doxygen/user.cfg.in
===================================================================
--- doc/doxygen/user.cfg.in	(revision 154736)
+++ doc/doxygen/user.cfg.in	(working copy)
@@ -1449,6 +1449,7 @@ PREDEFINED             = __cplusplus \
                          _GLIBCXX_ATOMIC_BUILTINS_8 \
                          _GLIBCXX_USE_SCHED_YIELD \
                          _GLIBCXX_USE_NANOSLEEP \
+                         __GXX_RTTI \
                          __glibcxx_function_requires=// \
                          __glibcxx_class_requires=// \
                          __glibcxx_class_requires2=// \


More information about the Libstdc++ mailing list