__cplusplus==1 has no C++11 on Mac; refs #7
This commit is contained in:
@@ -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], [
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user