From c3cdedea1e1830ee2cbbcafc31a11b0e9dd4733f Mon Sep 17 00:00:00 2001 From: Felipe Gomes de Melo Date: Fri, 22 Jan 2021 15:50:35 -0300 Subject: [PATCH] [binding.gyp] Add -std=c++17 flag Sdf format version 9.0 requires c++17 to be compiled https://github.com/osrf/sdformat/pull/251 --- gzbridge/binding.gyp | 1 + 1 file changed, 1 insertion(+) diff --git a/gzbridge/binding.gyp b/gzbridge/binding.gyp index 53d0cad3..cb5efc36 100644 --- a/gzbridge/binding.gyp +++ b/gzbridge/binding.gyp @@ -9,6 +9,7 @@ "OgreMaterialParser.cc", "OgreMaterialParser.hh"], 'cflags_cc!': [ '-fno-rtti', '-fno-exceptions' ], 'cflags!': [ '-fno-exceptions' ], + "cflags_cc": [ '-std=c++17' ], "conditions": [ ['OS=="linux"', { 'cflags': [