solenv/gbuild/platform/solaris.mk | 11 ----------- solenv/gbuild/platform/unxgcc.mk | 11 ----------- 2 files changed, 22 deletions(-)
New commits: commit e3061a1976a8ebf8e021939f568e52ee736d66d7 Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Oct 1 17:45:48 2014 +0200 Drop -Wno-deprecated-declarations workaround ...for one, all supported GCC versions should HAVE_GCC_PRAGMA_OPERATOR by now; for another, there are virtually no uses of std::auto_ptr left. Change-Id: I5d94c2520d43ff0a4a8f6882ce64ebed888b44ec diff --git a/solenv/gbuild/platform/solaris.mk b/solenv/gbuild/platform/solaris.mk index 94deeef..97f582b 100644 --- a/solenv/gbuild/platform/solaris.mk +++ b/solenv/gbuild/platform/solaris.mk @@ -84,17 +84,6 @@ gb_CXXFLAGS += -fno-strict-aliasing endif endif -#We have so many std::auto_ptr uses that we need to be able to disable -#warnings for those so that -Werror continues to be useful, seeing as moving -#to unique_ptr isn't an option when we must support different compilers -# -#When we are using 4.6.0 we can use gcc pragmas to selectively silence auto_ptr -#warnings in isolation, but for <= 4.5.X we need to globally disable -#deprecation -ifeq ($(HAVE_GCC_PRAGMA_OPERATOR),) -gb_CXXFLAGS += -Wno-deprecated-declarations -endif - ifneq ($(strip $(SYSBASE)),) gb_CXXFLAGS += --sysroot=$(SYSBASE) gb_CFLAGS += --sysroot=$(SYSBASE) diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk index df68e94..4864f9c 100644 --- a/solenv/gbuild/platform/unxgcc.mk +++ b/solenv/gbuild/platform/unxgcc.mk @@ -80,17 +80,6 @@ gb_COMPILERDEFS += \ endif -#We have so many std::auto_ptr uses that we need to be able to disable -#warnings for those so that -Werror continues to be useful, seeing as moving -#to unique_ptr isn't an option when we must support different compilers -# -#When we are using 4.6.0 we can use gcc pragmas to selectively silence auto_ptr -#warnings in isolation, but for <= 4.5.X we need to globally disable -#deprecation -ifeq ($(HAVE_GCC_PRAGMA_OPERATOR),) -gb_CXXFLAGS += -Wno-deprecated-declarations -endif - ifneq ($(strip $(SYSBASE)),) gb_CXXFLAGS += --sysroot=$(SYSBASE) gb_CFLAGS += --sysroot=$(SYSBASE) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits