summaryrefslogtreecommitdiff
path: root/ACE/include/makeinclude/platform_clang_common.GNU
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2014-09-08 13:00:33 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2014-09-08 13:00:33 +0000
commitba41e268a1799f9c3bcbfa021abb4d743ca1598b (patch)
tree3bafc40903a05155adf079a8e9a8a6e5287b9581 /ACE/include/makeinclude/platform_clang_common.GNU
parentdc8fefdf60b94b3133d7c3820920a1ff78325072 (diff)
downloadATCD-ba41e268a1799f9c3bcbfa021abb4d743ca1598b.tar.gz
Mon Sep 8 13:02:34 UTC 2014 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/platform_clang_common.GNU: Support c++11 as setting and add -Wno-deprecated at that moment to the compiler flags
Diffstat (limited to 'ACE/include/makeinclude/platform_clang_common.GNU')
-rw-r--r--ACE/include/makeinclude/platform_clang_common.GNU10
1 files changed, 9 insertions, 1 deletions
diff --git a/ACE/include/makeinclude/platform_clang_common.GNU b/ACE/include/makeinclude/platform_clang_common.GNU
index 3c8e1dbab71..d89bcb7f4fb 100644
--- a/ACE/include/makeinclude/platform_clang_common.GNU
+++ b/ACE/include/makeinclude/platform_clang_common.GNU
@@ -69,7 +69,15 @@ endif
ifeq ($(c++0x),1)
CCFLAGS += -std=c++0x
-endif
+ # This is needed due to the use of the deprecated auto_ptr class
+ CCFLAGS += -Wno-deprecated
+else
+ ifeq ($(c++11),1)
+ CCFLAGS += -std=c++11
+ # This is needed due to the use of the deprecated auto_ptr class
+ CCFLAGS += -Wno-deprecated
+ endif # c++11
+endif # c++0x
ifeq ($(shared_libs), 1)
ifneq ($(static_libs_only), 1)