Skip to content

Commit 81bb57d

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 81bb57d

File tree

2 files changed

+190
-7
lines changed

2 files changed

+190
-7
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
}}

package-lock.json

Lines changed: 188 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)