From 1cc8fd38cd74c92035478504088aaf6e9fff533f Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Mon, 6 Aug 2018 11:25:13 +0200 Subject: Changed deprecated_declarations to no_deprecated so that we have the same setting with clang and gcc * ACE/include/makeinclude/platform_linux_clang.GNU: --- ACE/include/makeinclude/platform_linux_clang.GNU | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/ACE/include/makeinclude/platform_linux_clang.GNU b/ACE/include/makeinclude/platform_linux_clang.GNU index c7358aa5bf0..303cc580393 100644 --- a/ACE/include/makeinclude/platform_linux_clang.GNU +++ b/ACE/include/makeinclude/platform_linux_clang.GNU @@ -31,19 +31,15 @@ endif ifeq ($(c++0x),1) CCFLAGS += -std=c++0x - deprecated_declarations ?= 0 + no_deprecated ?= 1 else ifeq ($(c++11),1) CCFLAGS += -std=c++11 - deprecated_declarations ?= 0 + no_deprecated ?= 1 endif endif -# If the user doesn't set a default we default show -# deprecated declarations -deprecated_declarations ?= 1 - -ifeq ($(deprecated_declarations),0) +ifeq ($(no_deprecated),1) CCFLAGS += -Wno-deprecated-declarations endif -- cgit v1.2.1