From 73c92ff2292b6dd62842772c90edb8bd99df7b04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Fri, 12 Sep 2014 14:23:07 +0000 Subject: [PATCH] next try, doku; refs #11 --- src/mrw/checkcxx11.hxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/mrw/checkcxx11.hxx b/src/mrw/checkcxx11.hxx index 95c9bb3..d6fed5e 100644 --- a/src/mrw/checkcxx11.hxx +++ b/src/mrw/checkcxx11.hxx @@ -68,14 +68,19 @@ namespace std { }; # endif # elsif __APPLE__ +# warning you need a C++11 compliant compiler, on gcc: add -std=c++11 +# warning emulating C++11 - this changes the way you use the library +# warning this is deprecated and will be removed in future releases +# warning refere to the library documentation for more details +# warning special workaround for apple # include namespace std { // there is no std::shared_ptr in apple, but // std::tr1::shared_ptr in template class shared_ptr: public tr1::shared_ptr { public: - explicit shared_ptr(): boost::shared_ptr() {} - explicit shared_ptr(T* p): boost::shared_ptr(p) {} + explicit shared_ptr(): tr1::shared_ptr() {} + explicit shared_ptr(T* p): tr1::shared_ptr(p) {} }; } # endif