[cfe-dev] Preprocessor macros

Daniel Marjamäki Daniel.Marjamaki at evidente.se
Thu Aug 14 05:02:55 PDT 2014


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 at evidente.se

www.evidente.se




More information about the cfe-dev mailing list