Browse Source

win: disable exception handling for all builds

Previously exception handling was disabled in release builds, but
enabled in debug builds. That makes no sense.

PR-URL: https://github.com/iojs/io.js/pull/258
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
v1.8.0-commit
Bert Belder 10 years ago
parent
commit
da9eff80a3
  1. 3
      common.gypi

3
common.gypi

@ -105,7 +105,6 @@
'EnableFunctionLevelLinking': 'true', 'EnableFunctionLevelLinking': 'true',
'EnableIntrinsicFunctions': 'true', 'EnableIntrinsicFunctions': 'true',
'RuntimeTypeInfo': 'false', 'RuntimeTypeInfo': 'false',
'ExceptionHandling': '0',
'AdditionalOptions': [ 'AdditionalOptions': [
'/MP', # compile across multiple CPUs '/MP', # compile across multiple CPUs
], ],
@ -134,7 +133,7 @@
'DebugInformationFormat': 3, # Generate a PDB 'DebugInformationFormat': 3, # Generate a PDB
'WarningLevel': 3, 'WarningLevel': 3,
'BufferSecurityCheck': 'true', 'BufferSecurityCheck': 'true',
'ExceptionHandling': 1, # /EHsc 'ExceptionHandling': 0, # /EHsc
'SuppressStartupBanner': 'true', 'SuppressStartupBanner': 'true',
'WarnAsError': 'false', 'WarnAsError': 'false',
}, },

Loading…
Cancel
Save