From 9d7166b448198875bdff43d7054d0f5914e675de Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Mon, 9 Jul 2018 00:54:02 +0200 Subject: fix compile_commands.json when generated with modern gcc Change-Id: I4a17cfb567f5ebec8bb416b9aa4d58763ff36c36 --- bin/gbuild-to-ide | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/gbuild-to-ide') diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide index 90a732d7c614..b016bfe02a0c 100755 --- a/bin/gbuild-to-ide +++ b/bin/gbuild-to-ide @@ -379,7 +379,7 @@ class VimIntegrationGenerator(IdeIntegrationGenerator): command += ' -c ' command += file # Help clang when the tree is configured for gcc. - for gnu in ('-std=gnu++11', '-std=gnu++1y'): + for gnu in ('-std=gnu++11', '-std=gnu++1y', '-std=gnu++17'): command = command.replace(gnu, '-std=c++11') return command -- cgit