[cfe-dev] How to detect "K+R mode"?

Chris Lattner clattner at apple.com
Fri Jul 10 11:13:29 PDT 2009


On Jul 10, 2009, at 10:52 AM, AlisdairM(public) wrote:

> There is a TODO comment in the code I am working on to emit a  
> warning in K+R mode.  Is there a feature-test I can use to detect if  
> we are indeed compiling in such a mode?

No, I don't think so.

-Chris



More information about the cfe-dev mailing list