Skip to content

Commit 83939c5

Browse files
committed
Enable C++14
Node 16.x/Electron 11.x updates V8 to v8.7, enforcing usage of C++14 in addons.
1 parent c751580 commit 83939c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

binding.gyp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"<!(node -e \"require('nan')\")"
77
],
88
"cflags_cc": [
9-
"-std=c++11"
9+
"-std=c++14"
1010
],
1111
"conditions": [
1212
[ 'OS=="mac"',
1313
{ "xcode_settings": {
14-
'OTHER_CPLUSPLUSFLAGS' : ['-std=c++11','-stdlib=libc++'],
14+
'OTHER_CPLUSPLUSFLAGS' : ['-std=c++14','-stdlib=libc++'],
1515
'OTHER_LDFLAGS': ['-stdlib=libc++'],
1616
'MACOSX_DEPLOYMENT_TARGET': '10.8'
1717
}}

0 commit comments

Comments
 (0)