[PATCH] Guard the noexcept with __cplusplus version.

Joerg Sonnenberger joerg at britannica.bec.de
Mon May 5 13:29:17 PDT 2014


On Mon, May 05, 2014 at 11:46:37AM -0700, Richard Smith wrote:
> __has_feature(noexcept) will only be true if we're in C++11-or-later mode,
> because __has_feature looks for features that are part of the
> currently-enabled language mode.

What about -fno-exceptions?

Joerg



More information about the cfe-commits mailing list