[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - solenv/gbuild

Michael Stahl mstahl at redhat.com
Wed Dec 16 12:35:35 PST 2015


 solenv/gbuild/platform/com_GCC_defs.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ee26cbc575206363e80752afa7a2fc11a4e62e3a
Author: Michael Stahl <mstahl at redhat.com>
Date:   Wed Dec 16 13:21:27 2015 +0100

    gbuild: disable -Werror for -Wdeprecated-declarations
    
    Zillions of auto_ptr warnings in boost.
    
    Change-Id: Ib9071c0241c2cb4c748f2634c1b39a2f8e889c20
    Reviewed-on: https://gerrit.libreoffice.org/20737
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index 93b35a4..a062d8c 100644
--- a/solenv/gbuild/platform/com_GCC_defs.mk
+++ b/solenv/gbuild/platform/com_GCC_defs.mk
@@ -112,7 +112,7 @@ gb_CXXFLAGS_COMMON += -fstack-protector-strong
 gb_LinkTarget_LDFLAGS += -fstack-protector-strong
 endif
 
-gb_CFLAGS_WERROR := $(if $(ENABLE_WERROR),-Werror)
+gb_CFLAGS_WERROR := $(if $(ENABLE_WERROR),-Werror -Wno-error=deprecated-declarations)
 
 # This is the default in non-C++11 mode
 ifeq ($(COM_GCC_IS_CLANG),TRUE)


More information about the Libreoffice-commits mailing list