As I reported on the list last week, @cond/@endcond did work to conditionalize
#defines in Doxygen 1.8.2, but sinc 1.8.3 (or maybe since 1.8.3.1), Doxygen
seems to be processing #defines even in @cond blocks.
As far as I can tell, @cond still works fine for everything else.
Regards,
Neil Faiman
On Feb 4, 2013, at 6:33 PM, chuck.per...@emerson.com wrote:
> The @cond and /endcond commands do not always work. The project that I am
> working on has examples of where they do work and where they don't work.
> There does not seem to be any pattern to this. Below is an example of where
> they do not work, on a very short and simple file. I have tried ALL of the
> syntactical variants for @cond @endcond to no avail. It simply does not
> work. I will point out that there other source files used with this run and
> they all have similar problems. Using Doxygen 1.8.3.1. and defaults for all
> setup options.
>
>
>
> /******************************************************************//**
> * @file SDRAM_Init.c
> * @brief This file contains functions used to initialize SDRAM
> ***********************************************************************/
>
> #include "lpc18xx.h"
> #include "lpc_types.h"
> #include "lpc18xx_scu.h"
> #include "lpc18xx_timer.h"
> #include "lpc18xx_cgu.h"
> #include <SDRAM_Init.h>
>
> /// @cond
> #define M32(x) *((uint32_t *)x)
> #define DELAYCYCLES(ns) (ns / ((1.0 / __EMCHZ) * 1E9))
> /// @endcond
>
>
> And the Doxygen warnings:
>
> E:/Control Products Work/Tool Distributions/Doxygen/doxygen/Test Source
> Folder/SDRAM_Init.c:15: warning: Member M32(x) (macro definition) of file
> SDRAM_Init.c is not documented.
>
> E:/Control Products Work/Tool Distributions/Doxygen/doxygen/Test Source
> Folder/SDRAM_Init.c:16: warning: Member DELAYCYCLES(ns) (macro definition) of
> file SDRAM_Init.c is not documented.
>
>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________
> Doxygen-users mailing list
> Doxygen-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/doxygen-users
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users