[cfe-commits] r90378 - in /cfe/trunk: lib/Lex/PPMacroExpansion.cpp test/Lexer/has_feature_exceptions.cpp

Mike Stump mrs at apple.com
Wed Dec 2 18:19:53 PST 2009


On Dec 2, 2009, at 6:14 PM, Ted Kremenek wrote:
> Indeed.  For those we can have separate has_feature entries.

And is a portable header suposed to do this:

#ifdef __cplusplus
#if __has_feature(cxx_exceptions)
#define HAVE_EXCEPTIONS
#endif
#else
#if __has_feature(c_exceptions)
#define HAVE_EXCEPTIONS
#endif

?  :-(



More information about the cfe-commits mailing list