Updated configuration for Embarcadero clang based compilers

This commit is contained in:
Edward Diener
2020-03-20 12:29:35 -04:00
parent aa90bfdb4a
commit f9e74d8a12
11 changed files with 16 additions and 17 deletions

View File

@ -485,7 +485,7 @@ BOOST_LIB_SUFFIX: Static/import libraries extension (".lib", ".a") for the c
#endif
#endif // _MSC_VER || __BORLANDC__
#endif // _MSC_VER || BOOST_BORLANDC
//
// finally undef any macros we may have set:

View File

@ -17,7 +17,7 @@
#endif
// last known compiler version:
#if (__BORLANDC__ > 0x613)
#if (__BORLANDC__ > 0x740)
//# if defined(BOOST_ASSERT_CONFIG)
# error "boost: Unknown compiler version - please run the configure tests and report the results"
//# else

View File

@ -20,6 +20,7 @@
# endif
#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
#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>:
//
#if !defined(__STRICT_ANSI__)
@ -151,7 +146,7 @@
//
// versions check:
// last known and checked version is 0x621
#if (__CODEGEARC__ > 0x621)
#if (__CODEGEARC__ > 0x740)
# if defined(BOOST_ASSERT_CONFIG)
# error "boost: Unknown compiler version - please run the configure tests and report the results"
# else
@ -209,6 +204,8 @@
# define BOOST_HAS_PRAGMA_ONCE
#endif
#define BOOST_NO_FENV_H
//
// C++0x macros:
//
@ -255,6 +252,7 @@
#define BOOST_NO_CXX11_REF_QUALIFIERS
#define BOOST_NO_CXX11_FINAL
#define BOOST_NO_CXX11_THREAD_LOCAL
#define BOOST_NO_CXX11_DECLTYPE_N3276
#define BOOST_NO_CXX11_UNRESTRICTED_UNION
// C++ 14:

View File

@ -54,7 +54,7 @@
// Compaq Tru64 Unix cxx
# 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
# error "Compiler threading support is not turned on. Please set the correct command line options for threading: -tWM"

View File

@ -306,7 +306,7 @@ namespace boost
// 64-bit types + intmax_t and uintmax_t ----------------------------------//
# 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(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX))
# if defined(__hpux)
@ -451,7 +451,7 @@ INT#_C macros if they're not already defined (John Maddock).
#ifndef INT64_C
# define INT64_C(value) value##i64
#endif
# ifdef __BORLANDC__
# ifdef BOOST_BORLANDC
// Borland bug: appending ui8 makes the type a signed char
# define UINT8_C(value) static_cast<unsigned char>(value##u)
# else

View File

@ -61,6 +61,7 @@ test-suite config
: #requirements
<rtti>off
<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_pthread_lib : <source>pthread ]
[ check-target-builds has_rt_lib : <source>rt ]

View File

@ -11,7 +11,7 @@
#include <boost/config.hpp>
#ifdef BOOST_MSVC
#pragma pack(1)
#elif defined(__BORLANDC__)
#elif defined(BOOST_BORLANDC)
#pragma option -Ve- -Vx- -a1 -b-
#endif
#include <stdio.h>

View File

@ -12,7 +12,7 @@
namespace boost_no_is_abstract{
#if defined(__CODEGEARC__)
#if defined(BOOST_CODEGEARC)
template<class T>
struct is_abstract_test
{

View File

@ -93,7 +93,7 @@ void integral_constant_checker::check()
// the following function simply verifies that the type
// of an integral constant is correctly defined:
//
#ifdef __BORLANDC__
#ifdef BOOST_BORLANDC
#pragma option -w-8008
#pragma option -w-8066
#endif

View File

@ -103,7 +103,7 @@ void integral_constant_checker::check()
// the following function simply verifies that the type
// of an integral constant is correctly defined:
//
#ifdef __BORLANDC__
#ifdef BOOST_BORLANDC
#pragma option -w-8008
#pragma option -w-8066
#endif

View File

@ -281,7 +281,7 @@ int main()
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
"Macros from <math.h>" << std::endl;
#ifdef __BORLANDC__
#ifdef BOOST_BORLANDC
// Turn off hardware exceptions so we don't just abort
// when calling numeric_limits members.
_control87(MCW_EM,MCW_EM);