Details
Description
Visual Studio 2015 Update 2 seems to require an exception handling mode to be set.
a minimal application with just
import qbs CppApplication { name: "minimal" files: "main.cpp" }
and
#include <iosfwd> int main(int argc, char **argv) { }
compiles only with a warning:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\iosfwd(384): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
Passing
cpp.enableExceptions:true
on command line fixes the issue, but shouldn't be needed.
Attachments
Issue Links
- relates to
-
QBS-387 Implement a cpp.exceptionHandling property to control availability of exception handling
- Closed