mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Schwartzmeyer <>
Subject Review Request 64701: Windows: Added `/EHsc` to `CMAKE_CXX_FLAGS`.
Date Tue, 19 Dec 2017 03:44:11 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for mesos, Akash Gupta, Joseph Wu, and Michael Park.

Repository: mesos


After upgrading Visual Studio to 15.5.2, warning C4530 started being
emitted for practically every file. Since we use the STL (which uses
exceptions), apparently we need to compile with `/EHsc`. This sets the
exception-handling model to catch C++ exceptions, and to assume that
functions declared as `extern "C"` never throw a C++ exception.


  cmake/CompilationConfigure.cmake dc9dc161dce1c714748bcec2fc15c4fbfbccaec2 



Built on Windows, warning is gone (and gone in 3rdparty builds too).


Andrew Schwartzmeyer

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message