forked from boostorg/config
Updated configuration for Embarcadero clang based compilers
This commit is contained in:
@@ -485,7 +485,7 @@ BOOST_LIB_SUFFIX: Static/import libraries extension (".lib", ".a") for the c
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif // _MSC_VER || __BORLANDC__
|
#endif // _MSC_VER || BOOST_BORLANDC
|
||||||
|
|
||||||
//
|
//
|
||||||
// finally undef any macros we may have set:
|
// finally undef any macros we may have set:
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// last known compiler version:
|
// last known compiler version:
|
||||||
#if (__BORLANDC__ > 0x613)
|
#if (__BORLANDC__ > 0x740)
|
||||||
//# if defined(BOOST_ASSERT_CONFIG)
|
//# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "boost: Unknown compiler version - please run the configure tests and report the results"
|
# error "boost: Unknown compiler version - please run the configure tests and report the results"
|
||||||
//# else
|
//# else
|
||||||
|
@@ -20,6 +20,7 @@
|
|||||||
# endif
|
# endif
|
||||||
|
|
||||||
#define BOOST_NO_FENV_H /* temporarily disable this until we can link against fegetround fesetround feholdexcept */
|
#define BOOST_NO_FENV_H /* temporarily disable this until we can link against fegetround fesetround feholdexcept */
|
||||||
|
#define BOOST_NO_CXX11_HDR_EXCEPTION /* Reported this bug to Embarcadero with the latest C++ Builder Rio release */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
@@ -35,12 +36,6 @@
|
|||||||
# define BOOST_HAS_MS_INT64
|
# define BOOST_HAS_MS_INT64
|
||||||
#endif
|
#endif
|
||||||
//
|
//
|
||||||
// check for exception handling support:
|
|
||||||
//
|
|
||||||
#if !defined(_CPPUNWIND) && !defined(BOOST_CPPUNWIND) && !defined(__EXCEPTIONS) && !defined(BOOST_NO_EXCEPTIONS)
|
|
||||||
# define BOOST_NO_EXCEPTIONS
|
|
||||||
#endif
|
|
||||||
//
|
|
||||||
// all versions have a <dirent.h>:
|
// all versions have a <dirent.h>:
|
||||||
//
|
//
|
||||||
#if !defined(__STRICT_ANSI__)
|
#if !defined(__STRICT_ANSI__)
|
||||||
@@ -151,7 +146,7 @@
|
|||||||
//
|
//
|
||||||
// versions check:
|
// versions check:
|
||||||
// last known and checked version is 0x621
|
// last known and checked version is 0x621
|
||||||
#if (__CODEGEARC__ > 0x621)
|
#if (__CODEGEARC__ > 0x740)
|
||||||
# if defined(BOOST_ASSERT_CONFIG)
|
# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "boost: Unknown compiler version - please run the configure tests and report the results"
|
# error "boost: Unknown compiler version - please run the configure tests and report the results"
|
||||||
# else
|
# else
|
||||||
@@ -209,6 +204,8 @@
|
|||||||
# define BOOST_HAS_PRAGMA_ONCE
|
# define BOOST_HAS_PRAGMA_ONCE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define BOOST_NO_FENV_H
|
||||||
|
|
||||||
//
|
//
|
||||||
// C++0x macros:
|
// C++0x macros:
|
||||||
//
|
//
|
||||||
@@ -255,6 +252,7 @@
|
|||||||
#define BOOST_NO_CXX11_REF_QUALIFIERS
|
#define BOOST_NO_CXX11_REF_QUALIFIERS
|
||||||
#define BOOST_NO_CXX11_FINAL
|
#define BOOST_NO_CXX11_FINAL
|
||||||
#define BOOST_NO_CXX11_THREAD_LOCAL
|
#define BOOST_NO_CXX11_THREAD_LOCAL
|
||||||
|
#define BOOST_NO_CXX11_DECLTYPE_N3276
|
||||||
#define BOOST_NO_CXX11_UNRESTRICTED_UNION
|
#define BOOST_NO_CXX11_UNRESTRICTED_UNION
|
||||||
|
|
||||||
// C++ 14:
|
// C++ 14:
|
||||||
|
@@ -54,7 +54,7 @@
|
|||||||
// Compaq Tru64 Unix cxx
|
// Compaq Tru64 Unix cxx
|
||||||
# error "Compiler threading support is not turned on. Please set the correct command line options for threading: -pthread"
|
# error "Compiler threading support is not turned on. Please set the correct command line options for threading: -pthread"
|
||||||
|
|
||||||
#elif defined __BORLANDC__
|
#elif defined BOOST_BORLANDC
|
||||||
// Borland
|
// Borland
|
||||||
# error "Compiler threading support is not turned on. Please set the correct command line options for threading: -tWM"
|
# error "Compiler threading support is not turned on. Please set the correct command line options for threading: -tWM"
|
||||||
|
|
||||||
|
@@ -306,7 +306,7 @@ namespace boost
|
|||||||
// 64-bit types + intmax_t and uintmax_t ----------------------------------//
|
// 64-bit types + intmax_t and uintmax_t ----------------------------------//
|
||||||
|
|
||||||
# if defined(BOOST_HAS_LONG_LONG) && \
|
# if defined(BOOST_HAS_LONG_LONG) && \
|
||||||
!defined(BOOST_MSVC) && !defined(__BORLANDC__) && \
|
!defined(BOOST_MSVC) && !defined(BOOST_BORLANDC) && \
|
||||||
(!defined(__GLIBCPP__) || defined(_GLIBCPP_USE_LONG_LONG)) && \
|
(!defined(__GLIBCPP__) || defined(_GLIBCPP_USE_LONG_LONG)) && \
|
||||||
(defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX))
|
(defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX))
|
||||||
# if defined(__hpux)
|
# if defined(__hpux)
|
||||||
@@ -451,7 +451,7 @@ INT#_C macros if they're not already defined (John Maddock).
|
|||||||
#ifndef INT64_C
|
#ifndef INT64_C
|
||||||
# define INT64_C(value) value##i64
|
# define INT64_C(value) value##i64
|
||||||
#endif
|
#endif
|
||||||
# ifdef __BORLANDC__
|
# ifdef BOOST_BORLANDC
|
||||||
// Borland bug: appending ui8 makes the type a signed char
|
// Borland bug: appending ui8 makes the type a signed char
|
||||||
# define UINT8_C(value) static_cast<unsigned char>(value##u)
|
# define UINT8_C(value) static_cast<unsigned char>(value##u)
|
||||||
# else
|
# else
|
||||||
|
@@ -61,6 +61,7 @@ test-suite config
|
|||||||
: #requirements
|
: #requirements
|
||||||
<rtti>off
|
<rtti>off
|
||||||
<toolset>gcc-4.4.7,<cxxstd>0x:<build>no # <memory> does not compile with -fno-rtti
|
<toolset>gcc-4.4.7,<cxxstd>0x:<build>no # <memory> does not compile with -fno-rtti
|
||||||
|
<toolset>embarcadero:<build>no # <memory> does not compile with -fno-rtti
|
||||||
[ check-target-builds has_atomic_lib : <source>atomic ]
|
[ check-target-builds has_atomic_lib : <source>atomic ]
|
||||||
[ check-target-builds has_pthread_lib : <source>pthread ]
|
[ check-target-builds has_pthread_lib : <source>pthread ]
|
||||||
[ check-target-builds has_rt_lib : <source>rt ]
|
[ check-target-builds has_rt_lib : <source>rt ]
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#ifdef BOOST_MSVC
|
#ifdef BOOST_MSVC
|
||||||
#pragma pack(1)
|
#pragma pack(1)
|
||||||
#elif defined(__BORLANDC__)
|
#elif defined(BOOST_BORLANDC)
|
||||||
#pragma option -Ve- -Vx- -a1 -b-
|
#pragma option -Ve- -Vx- -a1 -b-
|
||||||
#endif
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
namespace boost_no_is_abstract{
|
namespace boost_no_is_abstract{
|
||||||
|
|
||||||
#if defined(__CODEGEARC__)
|
#if defined(BOOST_CODEGEARC)
|
||||||
template<class T>
|
template<class T>
|
||||||
struct is_abstract_test
|
struct is_abstract_test
|
||||||
{
|
{
|
||||||
|
@@ -93,7 +93,7 @@ void integral_constant_checker::check()
|
|||||||
// the following function simply verifies that the type
|
// the following function simply verifies that the type
|
||||||
// of an integral constant is correctly defined:
|
// of an integral constant is correctly defined:
|
||||||
//
|
//
|
||||||
#ifdef __BORLANDC__
|
#ifdef BOOST_BORLANDC
|
||||||
#pragma option -w-8008
|
#pragma option -w-8008
|
||||||
#pragma option -w-8066
|
#pragma option -w-8066
|
||||||
#endif
|
#endif
|
||||||
|
@@ -103,7 +103,7 @@ void integral_constant_checker::check()
|
|||||||
// the following function simply verifies that the type
|
// the following function simply verifies that the type
|
||||||
// of an integral constant is correctly defined:
|
// of an integral constant is correctly defined:
|
||||||
//
|
//
|
||||||
#ifdef __BORLANDC__
|
#ifdef BOOST_BORLANDC
|
||||||
#pragma option -w-8008
|
#pragma option -w-8008
|
||||||
#pragma option -w-8066
|
#pragma option -w-8066
|
||||||
#endif
|
#endif
|
||||||
|
@@ -281,7 +281,7 @@ int main()
|
|||||||
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
|
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
|
||||||
"Macros from <math.h>" << std::endl;
|
"Macros from <math.h>" << std::endl;
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
#ifdef BOOST_BORLANDC
|
||||||
// Turn off hardware exceptions so we don't just abort
|
// Turn off hardware exceptions so we don't just abort
|
||||||
// when calling numeric_limits members.
|
// when calling numeric_limits members.
|
||||||
_control87(MCW_EM,MCW_EM);
|
_control87(MCW_EM,MCW_EM);
|
||||||
|
Reference in New Issue
Block a user