[Libreoffice-commits] core.git: Branch 'distro/lhm/libreoffice-5-2+backports' - solenv/gbuild

Thorsten Behrens Thorsten.Behrens at CIB.de
Wed Jul 4 23:39:08 UTC 2018


 solenv/gbuild/platform/unxgcc.mk |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 52b85ab2adf74e82cb598d9273b1639b11c28270
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Date:   Thu Jul 5 01:33:23 2018 +0200

    gcc7: disable -Wdeprecated for dynamic excpt specs
    
    gcc started to warn about c++11-deprecated dynamic exception
    specifications thusly:
    
    warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
    
    so disable this on the branch instead of a massive backport.
    
    See https://en.cppreference.com/w/cpp/language/except_spec for a
    discussion; this is still perfectly correct c++ code.
    
    Change-Id: Iffbb82e4da24fb96fab57f233b8ebe41fbc850fa
    Reviewed-on: https://gerrit.libreoffice.org/56981
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
    Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index bc449067e844..a86f6a6f6d49 100644
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -45,6 +45,7 @@ gb_CXXFLAGS := \
 	$(gb_CXXFLAGS_COMMON) \
 	-fPIC \
 	-Wshadow \
+	-Wno-deprecated \
 	-Woverloaded-virtual \
 	$(CXXFLAGS_CXX11) \
 


More information about the Libreoffice-commits mailing list