diff --git a/include/boost/config/compiler/borland.hpp b/include/boost/config/compiler/borland.hpp index 4d59e78e..9ab4aaf5 100644 --- a/include/boost/config/compiler/borland.hpp +++ b/include/boost/config/compiler/borland.hpp @@ -103,7 +103,7 @@ # error "Compiler not supported or configured - please reconfigure" #endif // -// last known and checked version is 5.6: +// last known and checked version is 5.7 (Kylix 3): #if (__BORLANDC__ > 0x570) # if defined(BOOST_ASSERT_CONFIG) # error "Unknown compiler version - please run the configure tests and report the results" @@ -116,3 +116,4 @@ + diff --git a/include/boost/config/compiler/vacpp.hpp b/include/boost/config/compiler/vacpp.hpp index 6e575db7..336fabe3 100644 --- a/include/boost/config/compiler/vacpp.hpp +++ b/include/boost/config/compiler/vacpp.hpp @@ -7,9 +7,21 @@ // Visual Age (IBM) C++ compiler setup: -#define BOOST_NO_MEMBER_TEMPLATE_FRIENDS -#define BOOST_NO_INCLASS_MEMBER_INITIALIZATION -#define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS +#if __IBMCPP__ <= 501 +# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS +# define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS +#endif + +#if (__IBMCPP__ <= 502) || !defined(BOOST_STRICT_CONFIG) +// Actually the compiler supports inclass member initialization but it +// requires a definition for the class member and it doesn't recognize +// it as an integral constant expression when used as a template argument. +# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION + +# define BOOST_NO_MEMBER_TEMPLATE_KEYWORD +# define BOOST_NO_INTEGRAL_INT64_T +#endif + // // On AIX thread support seems to be indicated by _THREAD_SAFE: // diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index e8510a50..9194db5a 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -52,7 +52,7 @@ #endif -#if _MSC_VER <= 1310 +#if _MSC_VER < 1310 # define BOOST_NO_SWPRINTF #endif diff --git a/include/boost/config/platform/aix.hpp b/include/boost/config/platform/aix.hpp index 670bf0bc..f1bb1b2f 100644 --- a/include/boost/config/platform/aix.hpp +++ b/include/boost/config/platform/aix.hpp @@ -10,12 +10,20 @@ #define BOOST_PLATFORM "IBM Aix" #define BOOST_HAS_UNISTD_H -#define BOOST_HAS_PTHREADS #define BOOST_HAS_NL_TYPES_H +#define BOOST_HAS_NANOSLEEP +#define BOOST_HAS_CLOCK_GETTIME + +// This needs support in "boost/cstdint.hpp" exactly like FreeBSD. +// This platform has header named which includes all +// the things needed. +#define BOOST_HAS_STDINT_H // Threading API's: +#define BOOST_HAS_PTHREADS #define BOOST_HAS_PTHREAD_DELAY_NP -#define BOOST_HAS_PTHREAD_YIELD +#define BOOST_HAS_SCHED_YIELD +//#define BOOST_HAS_PTHREAD_YIELD // boilerplate code: #include diff --git a/include/boost/config/stdlib/dinkumware.hpp b/include/boost/config/stdlib/dinkumware.hpp index 119b0b65..f6da4251 100644 --- a/include/boost/config/stdlib/dinkumware.hpp +++ b/include/boost/config/stdlib/dinkumware.hpp @@ -21,7 +21,7 @@ # if !(defined(_GLOBAL_USING) && (_GLOBAL_USING+0 > 0)) && !defined(_STD) // can be defined in yvals.h # define BOOST_NO_STDC_NAMESPACE # endif -# if !(defined(_HAS_MEMBER_TEMPLATES_REBIND) && (_HAS_MEMBER_TEMPLATES_REBIND+0 > 0) && !(defined(_MSC_VER) && (_MSC_VER > 1300))) +# if !(defined(_HAS_MEMBER_TEMPLATES_REBIND) && (_HAS_MEMBER_TEMPLATES_REBIND+0 > 0)) && !(defined(_MSC_VER) && (_MSC_VER > 1300)) # define BOOST_NO_STD_ALLOCATOR # endif # if defined(_MSC_VER) && (_MSC_VER < 1300) diff --git a/include/boost/config/stdlib/vacpp.hpp b/include/boost/config/stdlib/vacpp.hpp index ad4d2fc4..2d5bf570 100644 --- a/include/boost/config/stdlib/vacpp.hpp +++ b/include/boost/config/stdlib/vacpp.hpp @@ -5,8 +5,11 @@ // See http://www.boost.org for most recent version. +#if __IBMCPP__ <= 501 +# define BOOST_NO_STD_ALLOCATOR +#endif + #define BOOST_HAS_MACRO_USE_FACET -#define BOOST_NO_STD_ALLOCATOR #define BOOST_STDLIB "Visual Age default standard library"