Preprocessing : #if #endif conditions inside functions

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

Preprocessing : #if #endif conditions inside functions

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,

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.;132659582;e
Doxygen-users mailing list
[hidden email]