2001-09-18 11:13:39 +00:00
|
|
|
// (C) Copyright Boost.org 2001. Permission to copy, use, modify, sell and
|
|
|
|
|
// distribute this software is granted provided this copyright notice appears
|
|
|
|
|
// in all copies. This software is provided "as is" without express or implied
|
|
|
|
|
// warranty, and with no claim as to its suitability for any purpose.
|
|
|
|
|
|
|
|
|
|
// See http://www.boost.org for most recent version.
|
|
|
|
|
|
|
|
|
|
// Visual Age (IBM) C++ compiler setup:
|
|
|
|
|
|
2002-10-21 11:03:05 +00:00
|
|
|
#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_INTEGRAL_INT64_T
|
|
|
|
|
#endif
|
|
|
|
|
|
2003-06-06 12:17:52 +00:00
|
|
|
#if (__IBMCPP__ <= 600)
|
|
|
|
|
# define BOOST_NO_MEMBER_TEMPLATE_KEYWORD
|
|
|
|
|
#endif
|
|
|
|
|
|
2001-09-22 12:11:46 +00:00
|
|
|
//
|
|
|
|
|
// On AIX thread support seems to be indicated by _THREAD_SAFE:
|
|
|
|
|
//
|
|
|
|
|
#ifdef _THREAD_SAFE
|
|
|
|
|
# define BOOST_HAS_THREADS
|
|
|
|
|
#endif
|
|
|
|
|
|
2003-02-12 20:41:55 +00:00
|
|
|
#define BOOST_COMPILER "IBM Visual Age version " BOOST_STRINGIZE(__IBMCPP__)
|
2001-09-18 11:13:39 +00:00
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// versions check:
|
|
|
|
|
// we don't support Visual age prior to version 5:
|
|
|
|
|
#if __IBMCPP__ < 500
|
|
|
|
|
#error "Compiler not supported or configured - please reconfigure"
|
|
|
|
|
#endif
|
|
|
|
|
//
|
2003-06-06 12:17:52 +00:00
|
|
|
// last known and checked version is 600:
|
|
|
|
|
#if (__IBMCPP__ > 600)
|
2001-09-18 11:13:39 +00:00
|
|
|
# if defined(BOOST_ASSERT_CONFIG)
|
|
|
|
|
# error "Unknown compiler version - please run the configure tests and report the results"
|
|
|
|
|
# endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|