Preprocessor macros

Hello!

Is there a way to detect code that declares a function, and then uses
the preprocessor to define calls to it as empty? i.e. code that does:

As far as I know there isn't. It might be a good idea for a new warning imho.

Best regards,
Daniel Marjamäki

..................................................................................................................
Daniel Marjamäki Senior Engineer
Evidente ES East AB Warfvinges väg 34 SE-112 51 Stockholm Sweden

Mobile: +46 (0)709 12 42 62
E-mail: Daniel.Marjamaki@evidente.se

www.evidente.se