Skip to content

Commit

Permalink
Enable c++17 compilation
Browse files Browse the repository at this point in the history
Added cflags_cc option to binding.gyp for linux as per this issue osrf#201
  • Loading branch information
mhl787156 authored Jun 17, 2022
1 parent 73c13c0 commit 8677e52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gzbridge/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
'cflags': [
'<!@(pkg-config --cflags gazebo jansson protobuf)'
],
'cflags_cc': [ '-fno-rtti', '-fno-exceptions', '-std=c++17' ],
'ldflags': [
'<!@(pkg-config --libs-only-L --libs-only-other gazebo jansson protobuf)'
],
Expand Down

0 comments on commit 8677e52

Please sign in to comment.