Skip to content

Commit c515b29

Browse files
authored
Use C++14 to be able to build using node v16.x (#892)
1 parent 129cb73 commit c515b29

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ node_js:
1212
- "13"
1313
- "14"
1414
- "15"
15+
- "16"
1516
sudo: required
1617
services: docker
1718
before_install:

binding.gyp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
}
4444
],
4545
'cflags_cc' : [
46-
'-std=c++11'
46+
'-std=c++14'
4747
],
4848
'msvs_settings': {
4949
'VCLinkerTool': {
@@ -122,7 +122,7 @@
122122
'OS=="linux"',
123123
{
124124
'cflags_cc' : [
125-
'-std=c++11'
125+
'-std=c++14'
126126
],
127127
'cflags_cc!': [
128128
'-fno-rtti'
@@ -140,7 +140,7 @@
140140
],
141141
'OTHER_CPLUSPLUSFLAGS': [
142142
'-I/usr/local/opt/openssl/include',
143-
'-std=c++11'
143+
'-std=c++14'
144144
],
145145
},
146146
}

0 commit comments

Comments
 (0)