solenv/gbuild/platform/unxgcc.mk | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 52b85ab2adf74e82cb598d9273b1639b11c28270
Author: Thorsten Behrens <[email protected]>
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 <[email protected]>
Tested-by: Thorsten Behrens <[email protected]>
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) \
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits