~ubuntu-branches/ubuntu/oneiric/bombono-dvd/oneiric

« back to all changes in this revision

Viewing changes to libs/boost-lib/boost/config/compiler/digitalmars.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-11-04 11:46:25 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20101104114625-2tfaxma74eqggp5r
Tags: 0.8.0-0ubuntu1
* New upstream release (LP: #670193).
* Refresh 02_sparc.diff patch.
* Replace 05-boost_filesystem-link.patch with 05-fix_boost.patch, it fixes
  build failure with Boost <= 1.44.
* Bump Standards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
#define BOOST_HAS_WINTHREADS
37
37
#endif
38
38
 
 
39
#if (__DMC__ >= 0x847)
 
40
#define BOOST_HAS_EXPM1
 
41
#define BOOST_HAS_LOG1P
 
42
#endif
 
43
 
 
44
//
 
45
// Is this really the best way to detect whether the std lib is in namespace std?
 
46
//
 
47
#include <cstddef>
 
48
#if !defined(__STL_IMPORT_VENDOR_CSTD) && !defined(_STLP_IMPORT_VENDOR_CSTD)
 
49
#  define BOOST_NO_STDC_NAMESPACE
 
50
#endif
 
51
 
39
52
 
40
53
// check for exception handling support:
41
 
#ifndef _CPPUNWIND
 
54
#if !defined(_CPPUNWIND) && !defined(BOOST_NO_EXCEPTIONS)
42
55
#  define BOOST_NO_EXCEPTIONS
43
56
#endif
44
57
 
45
 
#if (__DMC__ < 0x840)
 
58
//
 
59
// C++0x features
 
60
//
 
61
#define BOOST_NO_AUTO_DECLARATIONS
 
62
#define BOOST_NO_AUTO_MULTIDECLARATIONS
 
63
#define BOOST_NO_CHAR16_T
 
64
#define BOOST_NO_CHAR32_T
 
65
#define BOOST_NO_CONCEPTS
 
66
#define BOOST_NO_CONSTEXPR
 
67
#define BOOST_NO_DECLTYPE
 
68
#define BOOST_NO_DEFAULTED_FUNCTIONS
 
69
#define BOOST_NO_DELETED_FUNCTIONS
 
70
#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
 
71
#define BOOST_NO_EXTERN_TEMPLATE
 
72
#define BOOST_NO_INITIALIZER_LISTS
 
73
#define BOOST_NO_LAMBDAS
 
74
#define BOOST_NO_NULLPTR
 
75
#define BOOST_NO_RAW_LITERALS
 
76
#define BOOST_NO_RVALUE_REFERENCES
 
77
#define BOOST_NO_SCOPED_ENUMS
 
78
#define BOOST_NO_SFINAE_EXPR
 
79
#define BOOST_NO_STATIC_ASSERT
 
80
#define BOOST_NO_TEMPLATE_ALIASES
 
81
#define BOOST_NO_UNICODE_LITERALS
 
82
#define BOOST_NO_VARIADIC_TEMPLATES
 
83
 
 
84
#if __DMC__ < 0x800
 
85
#error "Compiler not supported or configured - please reconfigure"
 
86
#endif
 
87
//
 
88
// last known and checked version is ...:
 
89
#if (__DMC__ > 0x848)
46
90
#  if defined(BOOST_ASSERT_CONFIG)
47
91
#     error "Unknown compiler version - please run the configure tests and report the results"
48
92
#  endif