Re: [Doxygen-users] Preprocessing
Brought to you by:
dimitri
|
From: Albert <alb...@gm...> - 2016-05-16 18:00:40
|
Mouadh,
I think it is correct, when myconst the first #if evaluates to true and the
second to false (test is myconst == 20, and myconst has a value of 10).
Albert
On Mon, May 16, 2016 at 7:52 PM, Mouadh Balti <mou...@gm...>
wrote:
> Dear All;
>
> i'am using doxygen to document a source code in C language, i have some
> preprossing derictives which not working correctly this is my code source :
>
>
> #define myconst = (1U)
>
> #if (myconst == 1U)
> void myfunction()
> {
> #if (myconst == 2U)
> call_function();
> #endif
> }
> #endif
>
> the first prepossessing is working correctly but the second one does not
> work..
>
> I checked the file after preprocessing it contain this:
>
> void myfunction()
> {
>
> }
>
> but in call graph diagram it is wrong myfunction is calling call_function
> which is not correct..
>
> is there any solution for that problem?
>
> thank you all.
> --
>
> Cordialement \ Best Regards,
> ________________________________
>
> *Mouadh BALTI*
>
>
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> _______________________________________________
> Doxygen-users mailing list
> Dox...@li...
> https://lists.sourceforge.net/lists/listinfo/doxygen-users
>
>
|