Redigera

Dela via


Compiler Warning (level 1) C4577

'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc

The compiler detected a noexcept specification, but standard C++ exception handling wasn't specified. The compiler doesn't fully support exception handling according to the C++ standard unless the /EHsc compiler option is specified. To resolve this issue, set the /EHsc compiler option.

This warning is new in Visual Studio 2015, and is off by default. For more information, see Compiler warnings that are off by default.