forked from boostorg/config
Updated configuration for Embarcadero clang based compilers
This commit is contained in:
1 parent
aa90bfdb4a
commit
f9e74d8a12
11 files changed
+16
-17
No files matched your search
@@ -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 ]
|
||||
|
||||
+1
-1
@@ -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>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
namespace boost_no_is_abstract{
|
||||
|
||||
#if defined(__CODEGEARC__)
|
||||
#if defined(BOOST_CODEGEARC)
|
||||
template<class T>
|
||||
struct is_abstract_test
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user