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

janimationd
Wed, 16 Dec 2015 18:44:31 +0000
Platform & Builds

I’m getting the following build error when I’m trying to package my game:

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

These errors originate from the Boost library that I’m trying to build with my project, and the errors happen everywhere that they use their “BOOST_SYSTEM_NOEXCEPT” macro. These errors only occur when packaging, if I build in Development_Editor I don’t see these errors.

Is there a way I can fix these errors? How can I specify the /EHsc flag?

NOTE: Answers below will depend heavily on engine version, try many of them before you give up!

27 posts - 1 participant