From: Bert Belder Date: Thu, 8 Jan 2015 10:23:59 +0000 (+0100) Subject: win: disable stl exception usage X-Git-Tag: v1.0.0~128 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4519db0407e394170eee958920112f153c27912a;p=platform%2Fupstream%2Fnodejs.git win: disable stl exception usage Tell the stl that exception handling is unavailable. This avoids warnings like: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\ xlocale(337): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc PR-URL: https://github.com/iojs/io.js/pull/258 Reviewed-By: Ben Noordhuis --- diff --git a/common.gypi b/common.gypi index 0a9008c..7072a83 100644 --- a/common.gypi +++ b/common.gypi @@ -179,6 +179,8 @@ # ... or that C implementations shouldn't use # POSIX names '_CRT_NONSTDC_NO_DEPRECATE', + # Make sure the STL doesn't try to use exceptions + '_HAS_EXCEPTIONS=0', 'BUILDING_V8_SHARED=1', 'BUILDING_UV_SHARED=1', ],