[Libreoffice-commits] core.git: bin/gbuild-to-ide
Markus Mohrhard
markus.mohrhard at googlemail.com
Sun Jul 8 22:55:51 UTC 2018
bin/gbuild-to-ide | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9d7166b448198875bdff43d7054d0f5914e675de
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Mon Jul 9 00:54:02 2018 +0200
fix compile_commands.json when generated with modern gcc
Change-Id: I4a17cfb567f5ebec8bb416b9aa4d58763ff36c36
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
More information about the Libreoffice-commits
mailing list