On 2015-09-07 09:14 (+0200), David Evans wrote: > According to your results for the clang++ case the configuration used > was > >> // Use this file to define a site and compiler specific >> // configuration policy, this version was auto-generated by >> // configure on Sun Sep 6 22:42:41 CEST 2015 >> // With the following options: >> // CXX = clang++ >> // CXXFLAGS = -I./../.. -I./../../libs/config/test -g -O2 >> -DBOOST_NO_CONFIG >> // LDFLAGS = >> // LIBS = -lm -lpthread >> // > > This seems ambiguous as to which library is being used libc++ or libstdc++. > > I wonder if you could run the clang++ test again first with -stdlib=libstdc++ > appended to configure's own CXXFLAGS > as MacPorts does in the libvisio case and secondly with -stdlib=libc++ to see > if that makes any difference.
Attached are the 'user.hpp' files created with these commands: $ CXX='/usr/bin/clang++' CXXFLAGS='-stdlib=libstdc++' sh ./configure $ CXX='/usr/bin/clang++' CXXFLAGS='-stdlib=libc++' sh ./configure
// (C) Copyright Boost.org 2001. // Do not check in modified versions of this file, // This file may be customised by the end user, but not by boost. // // Use this file to define a site and compiler specific // configuration policy, this version was auto-generated by // configure on Mon Sep 7 09:31:22 CEST 2015 // With the following options: // CXX = /usr/bin/clang++ // CXXFLAGS = -I./../.. -I./../../libs/config/test -stdlib=libstdc++ -DBOOST_NO_CONFIG // LDFLAGS = // LIBS = -lm -lpthread // // define this to disable all config options, // excluding the user config. Use if your // setup is fully ISO complient, and has no // useful extentions, or for autoconf generated // setups: #ifndef BOOST_NO_CONFIG # define BOOST_NO_CONFIG #endif // define if you want to disable threading support, even // when available: // #define BOOST_DISABLE_THREADS // define if you want the regex library to use the C locale // even on Win32: // #define BOOST_REGEX_USE_C_LOCALE // define this is you want the regex library to use the C++ // locale: // #define BOOST_REGEX_USE_CPP_LOCALE // // options added by configure: // #define BOOST_MSVC6_MEMBER_TEMPLATES #define BOOST_HAS_VARIADIC_TMPL #define BOOST_HAS_UNISTD_H #define BOOST_HAS_STDINT_H #define BOOST_HAS_SIGACTION #define BOOST_HAS_SCHED_YIELD #define BOOST_HAS_RVALUE_REFS #define BOOST_HAS_PTHREADS #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE #define BOOST_HAS_PARTIAL_STD_ALLOCATOR #define BOOST_HAS_NRVO #define BOOST_HAS_NL_TYPES_H #define BOOST_HAS_NANOSLEEP #define BOOST_HAS_LONG_LONG #define BOOST_HAS_LOG1P #define BOOST_HAS_INT128 #define BOOST_HAS_GETTIMEOFDAY #define BOOST_HAS_EXPM1 #define BOOST_HAS_DIRENT_H #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #define BOOST_NO_CXX11_UNICODE_LITERALS #define BOOST_NO_CXX11_STATIC_ASSERT #define BOOST_NO_CXX11_SCOPED_ENUMS #define BOOST_NO_CXX11_RAW_LITERALS #define BOOST_NO_CXX11_NULLPTR #define BOOST_NO_CXX11_NOEXCEPT #define BOOST_NO_CXX11_LAMBDAS #define BOOST_NO_MS_INT64_NUMERIC_LIMITS #define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS #define BOOST_NO_CXX11_DELETED_FUNCTIONS #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS #define BOOST_NO_CXX11_DECLTYPE_N3276 #define BOOST_NO_CXX11_DECLTYPE #define BOOST_NO_CXX11_HDR_FUNCTIONAL #define BOOST_NO_CXX14_VARIABLE_TEMPLATES #define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION #define BOOST_NO_CXX14_AGGREGATE_NSDMI #define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES #define BOOST_NO_CXX14_HDR_SHARED_MUTEX #define BOOST_NO_CXX14_GENERIC_LAMBDAS #define BOOST_NO_CXX14_DIGIT_SEPARATORS #define BOOST_NO_CXX14_DECLTYPE_AUTO #define BOOST_NO_CXX14_CONSTEXPR #define BOOST_NO_CXX11_USER_DEFINED_LITERALS #define BOOST_NO_CXX11_TRAILING_RESULT_TYPES #define BOOST_NO_CXX11_STD_ALIGN #define BOOST_NO_CXX11_SMART_PTR #define BOOST_NO_CXX11_NUMERIC_LIMITS #define BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS #define BOOST_NO_CXX11_HDR_UNORDERED_SET #define BOOST_NO_CXX11_HDR_UNORDERED_MAP #define BOOST_NO_CXX11_HDR_TYPEINDEX #define BOOST_NO_CXX11_HDR_TYPE_TRAITS #define BOOST_NO_CXX11_HDR_TUPLE #define BOOST_NO_CXX11_HDR_THREAD #define BOOST_NO_CXX11_HDR_SYSTEM_ERROR #define BOOST_NO_CXX11_HDR_REGEX #define BOOST_NO_CXX11_HDR_RATIO #define BOOST_NO_CXX11_HDR_RANDOM #define BOOST_NO_CXX11_HDR_MUTEX #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST #define BOOST_NO_CXX11_HDR_FUTURE #define BOOST_NO_CXX11_HDR_FORWARD_LIST #define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE #define BOOST_NO_CXX11_HDR_CODECVT #define BOOST_NO_CXX11_HDR_CHRONO #define BOOST_NO_CXX11_HDR_ATOMIC #define BOOST_NO_CXX11_HDR_ARRAY #define BOOST_NO_CXX11_ATOMIC_SMART_PTR #define BOOST_NO_CXX11_ALLOCATOR #define BOOST_NO_CXX11_ALIGNAS #define BOOST_NO_CXX11_ADDRESSOF #define BOOST_NO_CXX11_CONSTEXPR #define BOOST_NO_CXX11_CHAR32_T #define BOOST_NO_CXX11_CHAR16_T
// (C) Copyright Boost.org 2001. // Do not check in modified versions of this file, // This file may be customised by the end user, but not by boost. // // Use this file to define a site and compiler specific // configuration policy, this version was auto-generated by // configure on Mon Sep 7 09:39:02 CEST 2015 // With the following options: // CXX = /usr/bin/clang++ // CXXFLAGS = -I./../.. -I./../../libs/config/test -stdlib=libc++ -DBOOST_NO_CONFIG // LDFLAGS = // LIBS = -lm -lpthread // // define this to disable all config options, // excluding the user config. Use if your // setup is fully ISO complient, and has no // useful extentions, or for autoconf generated // setups: #ifndef BOOST_NO_CONFIG # define BOOST_NO_CONFIG #endif // define if you want to disable threading support, even // when available: // #define BOOST_DISABLE_THREADS // define if you want the regex library to use the C locale // even on Win32: // #define BOOST_REGEX_USE_C_LOCALE // define this is you want the regex library to use the C++ // locale: // #define BOOST_REGEX_USE_CPP_LOCALE // // options added by configure: // #define BOOST_MSVC6_MEMBER_TEMPLATES #define BOOST_HAS_VARIADIC_TMPL #define BOOST_HAS_UNISTD_H #define BOOST_HAS_TR1_COMPLEX_OVERLOADS #define BOOST_HAS_STDINT_H #define BOOST_HAS_SIGACTION #define BOOST_HAS_SCHED_YIELD #define BOOST_HAS_RVALUE_REFS #define BOOST_HAS_PTHREADS #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE #define BOOST_HAS_PARTIAL_STD_ALLOCATOR #define BOOST_HAS_NRVO #define BOOST_HAS_NL_TYPES_H #define BOOST_HAS_NANOSLEEP #define BOOST_HAS_LONG_LONG #define BOOST_HAS_LOG1P #define BOOST_HAS_INT128 #define BOOST_HAS_GETTIMEOFDAY #define BOOST_HAS_EXPM1 #define BOOST_HAS_DIRENT_H #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #define BOOST_NO_CXX11_UNICODE_LITERALS #define BOOST_NO_CXX11_STATIC_ASSERT #define BOOST_NO_CXX11_SCOPED_ENUMS #define BOOST_NO_CXX11_RAW_LITERALS #define BOOST_NO_CXX11_NULLPTR #define BOOST_NO_CXX11_NOEXCEPT #define BOOST_NO_CXX11_LAMBDAS #define BOOST_NO_MS_INT64_NUMERIC_LIMITS #define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS #define BOOST_NO_CXX11_DELETED_FUNCTIONS #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS #define BOOST_NO_CXX11_DECLTYPE_N3276 #define BOOST_NO_CXX11_DECLTYPE #define BOOST_NO_CXX11_HDR_FUNCTIONAL #define BOOST_NO_CXX14_VARIABLE_TEMPLATES #define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION #define BOOST_NO_CXX14_AGGREGATE_NSDMI #define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES #define BOOST_NO_CXX14_HDR_SHARED_MUTEX #define BOOST_NO_CXX14_GENERIC_LAMBDAS #define BOOST_NO_CXX14_DIGIT_SEPARATORS #define BOOST_NO_CXX14_DECLTYPE_AUTO #define BOOST_NO_CXX14_CONSTEXPR #define BOOST_NO_CXX11_USER_DEFINED_LITERALS #define BOOST_NO_CXX11_TRAILING_RESULT_TYPES #define BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS #define BOOST_NO_CXX11_HDR_TYPE_TRAITS #define BOOST_NO_CXX11_HDR_TUPLE #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST #define BOOST_NO_CXX11_HDR_FUTURE #define BOOST_NO_CXX11_HDR_ATOMIC #define BOOST_NO_CXX11_ATOMIC_SMART_PTR #define BOOST_NO_CXX11_ALLOCATOR #define BOOST_NO_CXX11_ALIGNAS #define BOOST_NO_CXX11_CONSTEXPR #define BOOST_NO_CXX11_CHAR32_T #define BOOST_NO_CXX11_CHAR16_T
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users