Skip to content

Commit 5782327

Browse files
committed
fix: enable exceptions on MacOS
1 parent cc88812 commit 5782327

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

binding.gyp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@
116116
'-Wno-unused-parameter',
117117
'-Wno-missing-field-initializers',
118118
],
119+
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
120+
'GCC_ENABLE_EXCEPTIONS': 'YES'
119121
},
120122
}],
121123

@@ -200,6 +202,8 @@
200202
'DEPLOYMENT_POSTPROCESSING': 'YES',
201203
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES',
202204
'DEAD_CODE_STRIPPING': 'YES',
205+
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
206+
'GCC_ENABLE_EXCEPTIONS': 'YES'
203207
},
204208
}],
205209

0 commit comments

Comments
 (0)