summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-10-01 17:45:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-10-01 17:45:48 +0200
commite3061a1976a8ebf8e021939f568e52ee736d66d7 (patch)
treede1b017266d83c7614464215288b9a00a1aca427 /solenv
parent389beae2ff13286e455488d7e77d14f7aa770818 (diff)
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
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/solaris.mk11
-rw-r--r--solenv/gbuild/platform/unxgcc.mk11
2 files changed, 0 insertions, 22 deletions
diff --git a/solenv/gbuild/platform/solaris.mk b/solenv/gbuild/platform/solaris.mk
index 94deeef76f41..97f582b3a030 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 df68e948891b..4864f9c4e4af 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)