[Doxygen-users] doxygen refusing to not include #define in file.c
Brought to you by:
dimitri
From: mathog <ma...@ca...> - 2013-11-22 20:05:34
|
Trying to get doxygen to ignore a #define, so far without success //! \cond #define UNUSED(x) (void)(x) //! \hideinitializer //! \endcond and it still emits: file.c:35: warning: Member UNUSED(x) (macro definition) of file file.c is not documented. and puts in the html for file.c: Macros #define UNUSED(x) (void)(x) It does that whether or not there is any comment at all on the same line as UNUSED. This macro should not be exposed in the documentation in any way shape or form, but Doxygen insists that it be. Note that when an assortment of functions and typedef struct's are placed between \cond and \endcond they are excluded from the HTML and there are no warnings about them not being documented. It seems to be only "#define" that is unexcludable. Thanks, David Mathog ma...@ca... Manager, Sequence Analysis Facility, Biology Division, Caltech |