I'm building on Mac OS with Xcode. The following test program seems to
demonstrate a problem either with config or my understanding of it.
<code>
#include <codecvt>
#include
#ifdef BOOST_NO_CXX11_HDR_CODECVT
#pragma message "no C++ codevt support"
#endif
#include "../../../libs/config/test/config_info.cpp"
</code>
When I compile the following I get a compile time message "no C++ codevt
support" which is NOT what I expect to see. This surprises me since if the
message is correct, I would expect the compile would fail at that #include
<codecvt> statement.
When I run the program I get:
Clang version 6.0 (clang-600.0.54)
__cplusplus =199711L
__STDC__ =1
__GNUC__ =4
__GNUC_MINOR__ =2
__GNUC_PATCHLEVEL__ =1
__GNUG__ =4
__VERSION__ ="4.2.1 Compatible Apple LLVM
6.0 (clang-600.0.54)"
__REGISTER_PREFIX__ [no value]
__USER_LABEL_PREFIX__ =_
__EXCEPTIONS =1
__GXX_RTTI =1
__LP64__ =1
__MACH__ =1
__APPLE__ =1
__APPLE_CC__ =6000
__STDC_HOSTED__ =1
*********************************************************************
libc++ version 1101
_LIBCPP_VERSION =1101
*********************************************************************
Detected Platform: Mac OS
Type char is signed
Type wchar_t is signed
byte order for type short =0 8
byte order for type int =0 8 16 24
byte order for type long =0 8 16 24 32 40 48 56
sizeof(wchar_t) =4
sizeof(short) =2
sizeof(int) =4
sizeof(long) =8
sizeof(size_t) =8
sizeof(ptrdiff_t) =8
sizeof(void*) =8
sizeof(void(*)(void)) =8
sizeof(float) =4
sizeof(double) =8
sizeof(long double) =16
CHAR_BIT =8
CHAR_MAX =127
WCHAR_MAX =2147483647
SHRT_MAX =32767
INT_MAX =2147483647
LONG_MAX =9223372036854775807L
LLONG_MAX =0x7fffffffffffffffLL
LONG_LONG_MAX =9223372036854775807LL
ULLONG_MAX =0xffffffffffffffffULL
ULONG_LONG_MAX
=(9223372036854775807LL*2ULL+1ULL)
_POSIX_ADVISORY_INFO =(-1)
_POSIX_ASYNCHRONOUS_IO =(-1)
_POSIX_BARRIERS =(-1)
_POSIX_CHOWN_RESTRICTED =200112L
_POSIX_CLOCK_SELECTION =(-1)
_POSIX_CPUTIME =(-1)
_POSIX_FSYNC =200112L
_POSIX_JOB_CONTROL =200112L
_POSIX_MAPPED_FILES =200112L
_POSIX_MEMLOCK =(-1)
_POSIX_MEMLOCK_RANGE =(-1)
_POSIX_MEMORY_PROTECTION =200112L
_POSIX_MESSAGE_PASSING =(-1)
_POSIX_MONOTONIC_CLOCK =(-1)
_POSIX_NO_TRUNC =200112L
_POSIX_PRIORITIZED_IO =(-1)
_POSIX_PRIORITY_SCHEDULING =(-1)
_POSIX_RAW_SOCKETS =(-1)
_POSIX_READER_WRITER_LOCKS =200112L
_POSIX_REALTIME_SIGNALS =(-1)
_POSIX_REGEXP =200112L
_POSIX_SAVED_IDS =200112L
_POSIX_SEMAPHORES =(-1)
_POSIX_SHARED_MEMORY_OBJECTS =(-1)
_POSIX_SHELL =200112L
_POSIX_SPAWN =(-1)
_POSIX_SPIN_LOCKS =(-1)
_POSIX_SPORADIC_SERVER =(-1)
_POSIX_SYNCHRONIZED_IO =(-1)
_POSIX_THREAD_ATTR_STACKADDR =200112L
_POSIX_THREAD_ATTR_STACKSIZE =200112L
_POSIX_THREAD_CPUTIME =(-1)
_POSIX_THREAD_PRIO_INHERIT =(-1)
_POSIX_THREAD_PRIO_PROTECT =(-1)
_POSIX_THREAD_PRIORITY_SCHEDULING =(-1)
_POSIX_THREAD_PROCESS_SHARED =200112L
_POSIX_THREAD_SAFE_FUNCTIONS =200112L
_POSIX_THREAD_SPORADIC_SERVER =(-1)
_POSIX_THREADS =200112L
_POSIX_TIMEOUTS =(-1)
_POSIX_TIMERS =(-1)
_POSIX_TRACE =(-1)
_POSIX_TRACE_EVENT_FILTER =(-1)
_POSIX_TRACE_INHERIT =(-1)
_POSIX_TRACE_LOG =(-1)
_POSIX_TYPED_MEMORY_OBJECTS =(-1)
_POSIX_VDISABLE =((unsigned char)'\377')
_POSIX_VERSION =200112L
_POSIX2_C_BIND =200112L
_POSIX2_C_DEV =200112L
_POSIX2_CHAR_TERM =200112L
_POSIX2_FORT_DEV =(-1)
_POSIX2_FORT_RUN =200112L
_POSIX2_LOCALEDEF =200112L
_POSIX2_PBS =(-1)
_POSIX2_PBS_ACCOUNTING =(-1)
_POSIX2_PBS_CHECKPOINT =(-1)
_POSIX2_PBS_LOCATE =(-1)
_POSIX2_PBS_MESSAGE =(-1)
_POSIX2_PBS_TRACK =(-1)
_POSIX2_SW_DEV =200112L
_POSIX2_UPE =200112L
_POSIX2_VERSION =200112L
_V6_ILP32_OFF32 =(-1)
_V6_ILP32_OFFBIG =(1)
_V6_LP64_OFF64 =(1)
_V6_LPBIG_OFFBIG =(1)
_XBS5_ILP32_OFF32 =(-1)
_XBS5_ILP32_OFFBIG =(1)
_XBS5_LP64_OFF64 =(1)
_XBS5_LPBIG_OFFBIG =(1)
_XOPEN_CRYPT =(1)
_XOPEN_ENH_I18N =(1)
_XOPEN_LEGACY =(-1)
_XOPEN_REALTIME =(-1)
_XOPEN_REALTIME_THREADS =(-1)
_XOPEN_SHM =(1)
_XOPEN_STREAMS =(-1)
_XOPEN_UNIX =(1)
_XOPEN_VERSION =600
*********************************************************************
Boost version 105700
BOOST_USER_CONFIG =
BOOST_COMPILER_CONFIG
="boost/config/compiler/clang.hpp"
BOOST_STDLIB_CONFIG
="boost/config/stdlib/libcpp.hpp"
BOOST_PLATFORM_CONFIG
="boost/config/platform/macos.hpp"
BOOST_HAS_THREADS [no value]
BOOST_DEDUCED_TYPENAME =typename
BOOST_HAS_DIRENT_H [no value]
BOOST_HAS_EXPM1 [no value]
BOOST_HAS_GETTIMEOFDAY [no value]
BOOST_HAS_INT128 [no value]
BOOST_HAS_LOG1P [no value]
BOOST_HAS_LONG_LONG [no value]
BOOST_HAS_NANOSLEEP [no value]
BOOST_HAS_NL_TYPES_H [no value]
BOOST_HAS_NRVO [no value]
BOOST_HAS_PARTIAL_STD_ALLOCATOR [no value]
BOOST_HAS_PTHREADS [no value]
BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE [no value]
BOOST_HAS_SCHED_YIELD [no value]
BOOST_HAS_SIGACTION [no value]
BOOST_HAS_STDINT_H [no value]
BOOST_HAS_UNISTD_H [no value]
BOOST_MSVC6_MEMBER_TEMPLATES [no value]
BOOST_NO_CXX11_ADDRESSOF [no value]
BOOST_NO_CXX11_ALIGNAS [no value]
BOOST_NO_CXX11_ALLOCATOR [no value]
BOOST_NO_CXX11_ATOMIC_SMART_PTR [no value]
BOOST_NO_CXX11_AUTO_DECLARATIONS [no value]
BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS [no value]
BOOST_NO_CXX11_CHAR16_T [no value]
BOOST_NO_CXX11_CHAR32_T [no value]
BOOST_NO_CXX11_CONSTEXPR [no value]
BOOST_NO_CXX11_DECLTYPE [no value]
BOOST_NO_CXX11_DECLTYPE_N3276 [no value]
BOOST_NO_CXX11_DEFAULTED_FUNCTIONS [no value]
BOOST_NO_CXX11_DELETED_FUNCTIONS [no value]
BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS [no value]
BOOST_NO_CXX11_FINAL [no value]
BOOST_NO_CXX11_FIXED_LENGTH_VARIADIC_TEMPLATE_EXPANSION_PACKS [no value]
BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS [no value]
BOOST_NO_CXX11_HDR_ARRAY [no value]
BOOST_NO_CXX11_HDR_ATOMIC [no value]
BOOST_NO_CXX11_HDR_CHRONO [no value]
BOOST_NO_CXX11_HDR_CODECVT [no value]
BOOST_NO_CXX11_HDR_CONDITION_VARIABLE [no value]
BOOST_NO_CXX11_HDR_FORWARD_LIST [no value]
BOOST_NO_CXX11_HDR_FUNCTIONAL [no value]
BOOST_NO_CXX11_HDR_FUTURE [no value]
BOOST_NO_CXX11_HDR_INITIALIZER_LIST [no value]
BOOST_NO_CXX11_HDR_MUTEX [no value]
BOOST_NO_CXX11_HDR_RANDOM [no value]
BOOST_NO_CXX11_HDR_RATIO [no value]
BOOST_NO_CXX11_HDR_REGEX [no value]
BOOST_NO_CXX11_HDR_SYSTEM_ERROR [no value]
BOOST_NO_CXX11_HDR_THREAD [no value]
BOOST_NO_CXX11_HDR_TUPLE [no value]
BOOST_NO_CXX11_HDR_TYPEINDEX [no value]
BOOST_NO_CXX11_HDR_TYPE_TRAITS [no value]
BOOST_NO_CXX11_HDR_UNORDERED_MAP [no value]
BOOST_NO_CXX11_HDR_UNORDERED_SET [no value]
BOOST_NO_CXX11_INLINE_NAMESPACES [no value]
BOOST_NO_CXX11_LAMBDAS [no value]
BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS [no value]
BOOST_NO_CXX11_NOEXCEPT [no value]
BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS [no value]
BOOST_NO_CXX11_NULLPTR [no value]
BOOST_NO_CXX11_NUMERIC_LIMITS [no value]
BOOST_NO_CXX11_RANGE_BASED_FOR [no value]
BOOST_NO_CXX11_RAW_LITERALS [no value]
BOOST_NO_CXX11_REF_QUALIFIERS [no value]
BOOST_NO_CXX11_RVALUE_REFERENCES [no value]
BOOST_NO_CXX11_SCOPED_ENUMS [no value]
BOOST_NO_CXX11_SMART_PTR [no value]
BOOST_NO_CXX11_STATIC_ASSERT [no value]
BOOST_NO_CXX11_STD_ALIGN [no value]
BOOST_NO_CXX11_TEMPLATE_ALIASES [no value]
BOOST_NO_CXX11_TRAILING_RESULT_TYPES [no value]
BOOST_NO_CXX11_UNICODE_LITERALS [no value]
BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX [no value]
BOOST_NO_CXX11_USER_DEFINED_LITERALS [no value]
BOOST_NO_CXX11_VARIADIC_TEMPLATES [no value]
BOOST_NO_MS_INT64_NUMERIC_LIMITS [no value]
BOOST_NO_STD_MESSAGES [no value]
BOOST_STD_EXTENSION_NAMESPACE =std
BOOST_UNREACHABLE_RETURN(0) [no value]
BOOST_CONSTEXPR [no value]
BOOST_CONSTEXPR_OR_CONST =const
BOOST_STATIC_CONSTEXPR =static const
BOOST_NOEXCEPT [no value]
BOOST_FORCEINLINE =inline __attribute__
((__always_inline__))
BOOST_NOINLINE =__attribute__ ((__noinline__))
BOOST_FALLTHROUGH =((void)0)
Program ended with exit code: 0
which also surprises me as I was under the impression that my compiler
implements all of C++11 library standard
Any help appreciated,
Robert Ramey
--
View this message in context: http://boost.2283326.n4.nabble.com/boost-config-BOOST-NO-CXX11-HDR-CODECVT-q...
Sent from the Boost - Dev mailing list archive at Nabble.com.