From 49a5f6e38c348fc16dc280bc282c5aac1447dc9e Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 1 Jul 2013 18:31:23 +0800 Subject: [PATCH] Compile atom_lib with C++ exception enabled. --- atom.gyp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/atom.gyp b/atom.gyp index 1a87591ad8ff..488f6b74237d 100644 --- a/atom.gyp +++ b/atom.gyp @@ -252,6 +252,14 @@ '.', 'vendor', ], + 'msvs_settings': { + 'VCCLCompilerTool': { + # Programs that use the Standard C++ library must be compiled with C++ + # exception handling enabled. + # http://support.microsoft.com/kb/154419 + 'ExceptionHandling': 1, + }, + }, }, { 'target_name': 'generated_sources',