Skip to content

Commit 9a212fb

Browse files
committed
[binding.gyp] Add -std=c++17 flag
Sdf format version 9.0 requires c++17 to be compiled gazebosim/sdformat#251
1 parent 2d38973 commit 9a212fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

binding.gyp

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"OgreMaterialParser.cc", "OgreMaterialParser.hh"],
1010
'cflags_cc!': [ '-fno-rtti', '-fno-exceptions' ],
1111
'cflags!': [ '-fno-exceptions' ],
12+
"cflags_cc": [ '-std=c++17' ],
1213
"conditions": [
1314
['OS=="linux"', {
1415
'cflags': [

0 commit comments

Comments
 (0)