2007-09-25 20:34:36 +00:00
|
|
|
// (C) Copyright Noel Belcourt 2007.
|
|
|
|
|
// Use, modification and distribution are subject to the
|
|
|
|
|
// Boost Software License, Version 1.0. (See accompanying file
|
|
|
|
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
|
|
|
|
|
|
// See http://www.boost.org for most recent version.
|
|
|
|
|
|
|
|
|
|
// PGI C++ compiler setup:
|
|
|
|
|
|
2008-03-21 21:04:36 +00:00
|
|
|
#define BOOST_COMPILER_VERSION __PGIC__##__PGIC_MINOR__
|
2012-01-04 23:42:11 +00:00
|
|
|
#define BOOST_COMPILER "PGI compiler version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
|
2007-09-25 20:34:36 +00:00
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Threading support:
|
|
|
|
|
// Turn this on unconditionally here, it will get turned off again later
|
|
|
|
|
// if no threading API is detected.
|
|
|
|
|
//
|
|
|
|
|
|
2012-01-13 19:16:02 +00:00
|
|
|
#if __PGIC__ >= 11
|
2010-02-05 05:51:15 +00:00
|
|
|
|
|
|
|
|
// options requested by configure --enable-test
|
2012-01-13 20:47:36 +00:00
|
|
|
#define BOOST_HAS_PTHREADS
|
|
|
|
|
#undef BOOST_HAS_PTHREAD_YIELD
|
2012-01-13 19:16:02 +00:00
|
|
|
#define BOOST_HAS_NRVO
|
|
|
|
|
#define BOOST_HAS_LONG_LONG
|
|
|
|
|
|
|
|
|
|
// options --enable-test wants undefined
|
|
|
|
|
#undef BOOST_NO_STDC_NAMESPACE
|
|
|
|
|
#undef BOOST_NO_EXCEPTION_STD_NAMESPACE
|
|
|
|
|
#undef BOOST_DEDUCED_TYPENAME
|
|
|
|
|
|
|
|
|
|
#define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
|
|
|
|
#define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
|
|
|
|
#define BOOST_NO_AUTO_MULTIDECLARATIONS
|
|
|
|
|
#define BOOST_NO_AUTO_DECLARATIONS
|
|
|
|
|
#define BOOST_NO_STD_UNORDERED
|
|
|
|
|
|
|
|
|
|
#elif __PGIC__ >= 10
|
|
|
|
|
|
|
|
|
|
// options requested by configure --enable-test
|
|
|
|
|
#define BOOST_HAS_THREADS
|
2010-02-05 05:51:15 +00:00
|
|
|
#define BOOST_HAS_NRVO
|
|
|
|
|
#define BOOST_HAS_LONG_LONG
|
|
|
|
|
|
|
|
|
|
// options --enable-test wants undefined
|
|
|
|
|
#undef BOOST_NO_STDC_NAMESPACE
|
|
|
|
|
#undef BOOST_NO_EXCEPTION_STD_NAMESPACE
|
|
|
|
|
#undef BOOST_DEDUCED_TYPENAME
|
|
|
|
|
|
|
|
|
|
#elif __PGIC__ >= 7
|
2008-03-21 21:04:36 +00:00
|
|
|
|
2007-09-25 20:34:36 +00:00
|
|
|
#define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
|
|
|
|
#define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
|
|
|
|
#define BOOST_NO_SWPRINTF
|
2010-02-05 05:51:15 +00:00
|
|
|
#define BOOST_NO_AUTO_MULTIDECLARATIONS
|
|
|
|
|
#define BOOST_NO_AUTO_DECLARATIONS
|
2007-09-25 20:34:36 +00:00
|
|
|
|
2008-03-21 21:04:36 +00:00
|
|
|
#else
|
|
|
|
|
|
|
|
|
|
# error "Pgi compiler not configured - please reconfigure"
|
|
|
|
|
|
|
|
|
|
#endif
|
2009-02-25 18:04:27 +00:00
|
|
|
//
|
|
|
|
|
// C++0x features
|
|
|
|
|
//
|
|
|
|
|
// See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
|
|
|
|
|
//
|
2009-03-12 14:48:49 +00:00
|
|
|
#define BOOST_NO_CHAR16_T
|
|
|
|
|
#define BOOST_NO_CHAR32_T
|
|
|
|
|
#define BOOST_NO_CONSTEXPR
|
|
|
|
|
#define BOOST_NO_DECLTYPE
|
2011-06-01 14:51:03 +00:00
|
|
|
#define BOOST_NO_DECLTYPE_N3276
|
2009-03-12 14:48:49 +00:00
|
|
|
#define BOOST_NO_DEFAULTED_FUNCTIONS
|
|
|
|
|
#define BOOST_NO_DELETED_FUNCTIONS
|
|
|
|
|
#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
|
|
|
|
|
#define BOOST_NO_EXTERN_TEMPLATE
|
2009-08-02 14:00:59 +00:00
|
|
|
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
2009-05-15 17:08:26 +00:00
|
|
|
#define BOOST_NO_LAMBDAS
|
2012-03-21 17:32:36 +00:00
|
|
|
#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS
|
2011-05-05 11:55:46 +00:00
|
|
|
#define BOOST_NO_NOEXCEPT
|
2009-05-15 17:08:26 +00:00
|
|
|
#define BOOST_NO_NULLPTR
|
2012-01-13 19:16:02 +00:00
|
|
|
#define BOOST_NO_NUMERIC_LIMITS_LOWEST
|
2009-03-12 14:48:49 +00:00
|
|
|
#define BOOST_NO_RAW_LITERALS
|
|
|
|
|
#define BOOST_NO_RVALUE_REFERENCES
|
|
|
|
|
#define BOOST_NO_SCOPED_ENUMS
|
2009-08-02 14:00:59 +00:00
|
|
|
#define BOOST_NO_SFINAE_EXPR
|
2009-03-12 14:48:49 +00:00
|
|
|
#define BOOST_NO_STATIC_ASSERT
|
2012-01-13 19:16:02 +00:00
|
|
|
#define BOOST_NO_SWPRINTF
|
2009-05-15 17:08:26 +00:00
|
|
|
#define BOOST_NO_TEMPLATE_ALIASES
|
2009-03-12 14:48:49 +00:00
|
|
|
#define BOOST_NO_UNICODE_LITERALS
|
2009-02-25 18:04:27 +00:00
|
|
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
2010-08-17 10:19:29 +00:00
|
|
|
#define BOOST_NO_VARIADIC_MACROS
|
2011-05-09 11:36:39 +00:00
|
|
|
#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
2009-02-25 18:04:27 +00:00
|
|
|
|
2012-03-04 03:00:49 +00:00
|
|
|
#define BOOST_NO_CXX11_HDR_UNORDERED_SET
|
|
|
|
|
#define BOOST_NO_CXX11_HDR_UNORDERED_MAP
|
|
|
|
|
#define BOOST_NO_CXX11_HDR_TYPEINDEX
|
|
|
|
|
#define BOOST_NO_CXX11_HDR_TYPE_TRAITS
|
|
|
|
|
#define BOOST_NO_CXX11_HDR_TUPLE
|
|
|
|
|
#define BOOST_NO_CXX11_HDR_THREAD
|
|
|
|
|
#define BOOST_NO_CXX11_HDR_SYSTEM_ERROR
|
|
|
|
|
#define BOOST_NO_CXX11_HDR_REGEX
|
|
|
|
|
#define BOOST_NO_CXX11_HDR_RATIO
|
|
|
|
|
#define BOOST_NO_CXX11_HDR_RANDOM
|
|
|
|
|
#define BOOST_NO_CXX11_HDR_MUTEX
|
|
|
|
|
#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
|
|
|
|
|
#define BOOST_NO_CXX11_HDR_FUTURE
|
|
|
|
|
#define BOOST_NO_CXX11_HDR_FORWARD_LIST
|
|
|
|
|
#define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE
|
|
|
|
|
#define BOOST_NO_CXX11_HDR_CODECVT
|
|
|
|
|
#define BOOST_NO_CXX11_HDR_CHRONO
|
|
|
|
|
#define BOOST_NO_CXX11_HDR_ARRAY
|
2012-01-13 19:16:02 +00:00
|
|
|
|
2007-09-25 20:34:36 +00:00
|
|
|
//
|
|
|
|
|
// version check:
|
|
|
|
|
// probably nothing to do here?
|
|
|
|
|
|