Quantcast

Preprocessing : #if #endif conditions inside functions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Preprocessing : #if #endif conditions inside functions

walid
Hi all,

I have the case of a code base with multiple #if #endif conditions outside and inside the functions. 

When generating the dot files with Doxygen, the conditions outside the functions are treated correctly (parts of code in a false condition are deleted).

But for the #if #endif conditions inside the functions, the code is always considered, even when conditions are false. 

I checked the result of the preprocessing and it seems to be correct, but when generating the dot files and the call graph, functions which normally are deleted during preprocessing are there.

Is there a configuration in Doxygen to parameter a complete conditional compilation ?


Thank you,

Best regards,
Walid



------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Doxygen-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
Loading...