forked from boostorg/config
Merge pull request #331 from eldiener/develop
Atomic exchange for 16 bytes does not work for Embarcadero C++ clang-…
This commit is contained in:
@ -35,6 +35,10 @@
|
|||||||
#undef BOOST_HAS_FLOAT128
|
#undef BOOST_HAS_FLOAT128
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// The clang-based compilers can not do 128 atomic exchanges
|
||||||
|
|
||||||
|
#define BOOST_ATOMIC_NO_CMPXCHG16B
|
||||||
|
|
||||||
// 32 functions are missing from the current RTL in cwchar, so it really can not be used even if it exists
|
// 32 functions are missing from the current RTL in cwchar, so it really can not be used even if it exists
|
||||||
|
|
||||||
# define BOOST_NO_CWCHAR
|
# define BOOST_NO_CWCHAR
|
||||||
|
@ -634,7 +634,7 @@ namespace std{ using ::type_info; }
|
|||||||
#if !defined(BOOST_NORETURN)
|
#if !defined(BOOST_NORETURN)
|
||||||
# if defined(_MSC_VER)
|
# if defined(_MSC_VER)
|
||||||
# define BOOST_NORETURN __declspec(noreturn)
|
# define BOOST_NORETURN __declspec(noreturn)
|
||||||
# elif defined(__GNUC__)
|
# elif defined(__GNUC__) || defined(__CODEGEARC__) && defined(__clang__)
|
||||||
# define BOOST_NORETURN __attribute__ ((__noreturn__))
|
# define BOOST_NORETURN __attribute__ ((__noreturn__))
|
||||||
# elif defined(__has_attribute) && defined(__SUNPRO_CC) && (__SUNPRO_CC > 0x5130)
|
# elif defined(__has_attribute) && defined(__SUNPRO_CC) && (__SUNPRO_CC > 0x5130)
|
||||||
# if __has_attribute(noreturn)
|
# if __has_attribute(noreturn)
|
||||||
|
Reference in New Issue
Block a user