diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-07-09 00:54:02 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-07-09 00:55:13 +0200 |
commit | 9d7166b448198875bdff43d7054d0f5914e675de (patch) | |
tree | 3d4962f34e3c7c03f667f32c13ad52826afa707e /bin/gbuild-to-ide | |
parent | c3c2ca43686b8cf63e60f783b81cb353d91973fa (diff) |
fix compile_commands.json when generated with modern gcc
Change-Id: I4a17cfb567f5ebec8bb416b9aa4d58763ff36c36
Diffstat (limited to 'bin/gbuild-to-ide')
-rwxr-xr-x | bin/gbuild-to-ide | 2 |
1 files changed, 1 insertions, 1 deletions
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 |