Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 890 Bytes

compiler-warning-level-1-c4577.md

File metadata and controls

14 lines (11 loc) · 890 Bytes
title description ms.date f1_keywords helpviewer_keywords
Compiler Warning C4577
Compiler warning C4577 description and solution.
09/18/2019
C4577
C4577

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.