[Libreoffice-commits] core.git: bin/gbuild-to-ide

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Aug 29 09:25:27 UTC 2018


 bin/gbuild-to-ide |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit b0e74b65a86eb965c3e93da2fb77972cc5445f3c
Author:     Miklos Vajna <vmiklos at collabora.co.uk>
AuthorDate: Wed Aug 29 09:13:03 2018 +0200
Commit:     Miklos Vajna <vmiklos at collabora.co.uk>
CommitDate: Wed Aug 29 11:25:04 2018 +0200

    vim-ide-integration: remove no longer needed workaround
    
    Fixes the problem that e.g. this code:
    
    OUString str;
    str += "";
    
    is marked as a compile error, when clang would still work with c++11,
    but the tree is configured for gnu++17.
    
    Change-Id: Id60c0cf4b8c693b534f16ba813cf01a4bad7e560
    Reviewed-on: https://gerrit.libreoffice.org/59746
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Jenkins

diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide
index b016bfe02a0c..9ac6949ffec8 100755
--- a/bin/gbuild-to-ide
+++ b/bin/gbuild-to-ide
@@ -378,9 +378,6 @@ class VimIntegrationGenerator(IdeIntegrationGenerator):
             command += cxxflag
         command += ' -c '
         command += file
-        # Help clang when the tree is configured for gcc.
-        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