1 // Copyright (C) Christof Meerwald 2003
\r
2 // Copyright (C) Dan Watkins 2003
\r
4 // Use, modification and distribution are subject to the
\r
5 // Boost Software License, Version 1.0. (See accompanying file
\r
6 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
\r
8 // Digital Mars C++ compiler setup:
\r
9 #define BOOST_COMPILER __DMC_VERSION_STRING__
\r
11 #define BOOST_HAS_LONG_LONG
\r
12 #define BOOST_HAS_PRAGMA_ONCE
\r
14 #if (__DMC__ <= 0x833)
\r
15 #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
\r
16 #define BOOST_NO_TEMPLATE_TEMPLATES
\r
17 #define BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING
\r
18 #define BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS
\r
19 #define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
\r
21 #if (__DMC__ <= 0x840) || !defined(BOOST_STRICT_CONFIG)
\r
22 #define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
\r
23 #define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
\r
24 #define BOOST_NO_OPERATORS_IN_NAMESPACE
\r
25 #define BOOST_NO_UNREACHABLE_RETURN_DETECTION
\r
26 #define BOOST_NO_SFINAE
\r
27 #define BOOST_NO_USING_TEMPLATE
\r
28 #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
\r
33 #if (__DMC__ >= 0x840)
\r
34 #define BOOST_HAS_DIRENT_H
\r
35 #define BOOST_HAS_STDINT_H
\r
36 #define BOOST_HAS_WINTHREADS
\r
39 #if (__DMC__ >= 0x847)
\r
40 #define BOOST_HAS_EXPM1
\r
41 #define BOOST_HAS_LOG1P
\r
45 // Is this really the best way to detect whether the std lib is in namespace std?
\r
48 #if !defined(__STL_IMPORT_VENDOR_CSTD) && !defined(_STLP_IMPORT_VENDOR_CSTD)
\r
49 # define BOOST_NO_STDC_NAMESPACE
\r
53 // check for exception handling support:
\r
55 # define BOOST_NO_EXCEPTIONS
\r
61 #define BOOST_NO_AUTO_DECLARATIONS
\r
62 #define BOOST_NO_AUTO_MULTIDECLARATIONS
\r
63 #define BOOST_NO_CHAR16_T
\r
64 #define BOOST_NO_CHAR32_T
\r
65 #define BOOST_NO_CONCEPTS
\r
66 #define BOOST_NO_CONSTEXPR
\r
67 #define BOOST_NO_DECLTYPE
\r
68 #define BOOST_NO_DEFAULTED_FUNCTIONS
\r
69 #define BOOST_NO_DELETED_FUNCTIONS
\r
70 #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
\r
71 #define BOOST_NO_EXTERN_TEMPLATE
\r
72 #define BOOST_NO_INITIALIZER_LISTS
\r
73 #define BOOST_NO_LAMBDAS
\r
74 #define BOOST_NO_NULLPTR
\r
75 #define BOOST_NO_RAW_LITERALS
\r
76 #define BOOST_NO_RVALUE_REFERENCES
\r
77 #define BOOST_NO_SCOPED_ENUMS
\r
78 #define BOOST_NO_SFINAE_EXPR
\r
79 #define BOOST_NO_STATIC_ASSERT
\r
80 #define BOOST_NO_TEMPLATE_ALIASES
\r
81 #define BOOST_NO_UNICODE_LITERALS
\r
82 #define BOOST_NO_VARIADIC_TEMPLATES
\r
85 #error "Compiler not supported or configured - please reconfigure"
\r
88 // last known and checked version is ...:
\r
89 #if (__DMC__ > 0x848)
\r
90 # if defined(BOOST_ASSERT_CONFIG)
\r
91 # error "Unknown compiler version - please run the configure tests and report the results"
\r