__cplusplus==1 has no C++11 on Mac; refs #7

This commit is contained in:
Marc Wäckerlin
2013-10-21 13:55:03 +00:00
parent 54f7027c4d
commit ca0df72b9c
2 changed files with 2 additions and 3 deletions

View File

@@ -1,5 +1,4 @@
# $Id$
set +x
m4_include(ax_cxx_compile_stdcxx_11.m4)
AC_ALIAS([AC_DEFINE_DIR], [AX_DEFINE_DIR])
AC_DEFUN([AX_DEFINE_DIR], [

View File

@@ -27,14 +27,14 @@
# endif
# if __cplusplus==1
// __cplusplus==1 is a known bug in gcc 4.6.3
# warning your compiler has a know bug, please upgrade to gcc >= 4.7
# warning see __cplusplus in http://gcc.gnu.org/gcc-4.7/changes.html
# endif
# ifdef MRW__OLD_PRE11_COMPILER
// __cplusplus==1 is a known bug in gcc 4.6.3
# if __cplusplus<200300L && __cplusplus!=1
# if __cplusplus<200300L
# include <boost/shared_ptr.hpp>
namespace std {
// there is no std::shared_ptr in pre C++11 compilers, so we use the