diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2018-08-06 11:25:13 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2018-08-06 11:25:13 +0200 |
commit | 1cc8fd38cd74c92035478504088aaf6e9fff533f (patch) | |
tree | 5c515741637f6047c567335a5e04c50377fd1345 | |
parent | 0a3568b650ee1d8cdbd66f5e521b5f4bd0b96680 (diff) | |
download | ATCD-1cc8fd38cd74c92035478504088aaf6e9fff533f.tar.gz |
Changed deprecated_declarations to no_deprecated so that we have the same setting with clang and gcc
* ACE/include/makeinclude/platform_linux_clang.GNU:
-rw-r--r-- | ACE/include/makeinclude/platform_linux_clang.GNU | 10 |
1 files 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 |