I just started using doxygen to document a C project.And there is some
questions.
The program like this:
#if defined  (ABC)
#include "aaa.h"
#include "bbb.h"
#include "ccc.h"
#include "ddd.h"
/**
* @param [in]   : null
* @param [out] : null
* @retval         : OK-success
* @retval         : ERROR-fail
*/
int abcd(void)
{
    return (abcde());
}
#endif

I would expect Doxygen would produce document within the #if defined-#endif
block, however it ignores them.The documents produced only have a file and
it can't identify the function and it's annotation...but if I delete the #if
defined and #endif,i can get the correct result.

Thanks;




--
View this message in context: 
http://doxygen.10944.n7.nabble.com/The-if-defined-endif-block-I-can-t-get-the-correct-result-tp6492.html
Sent from the Doxygen - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to