digitalmars.hpp

Go to the documentation of this file.
00001 //  Copyright (C) Christof Meerwald 2003
00002 //  Copyright (C) Dan Watkins 2003
00003 //
00004 //  Use, modification and distribution are subject to the 
00005 //  Boost Software License, Version 1.0. (See accompanying file 
00006 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00007 
00008 //  Digital Mars C++ compiler setup:
00009 #define BOOST_COMPILER __DMC_VERSION_STRING__
00010 
00011 #define BOOST_HAS_LONG_LONG
00012 #define BOOST_HAS_PRAGMA_ONCE
00013 
00014 #if (__DMC__ <= 0x833)
00015 #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
00016 #define BOOST_NO_TEMPLATE_TEMPLATES
00017 #define BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING
00018 #define BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS
00019 #define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
00020 #endif
00021 #if (__DMC__ <= 0x840) || !defined(BOOST_STRICT_CONFIG)
00022 #define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
00023 #define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
00024 #define BOOST_NO_OPERATORS_IN_NAMESPACE
00025 #define BOOST_NO_UNREACHABLE_RETURN_DETECTION
00026 #define BOOST_NO_SFINAE
00027 #define BOOST_NO_USING_TEMPLATE
00028 #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
00029 #endif
00030 
00031 //
00032 // has macros:
00033 #if (__DMC__ >= 0x840)
00034 #define BOOST_HAS_DIRENT_H
00035 #define BOOST_HAS_STDINT_H
00036 #define BOOST_HAS_WINTHREADS
00037 #endif
00038 
00039 
00040 // check for exception handling support:
00041 #ifndef _CPPUNWIND
00042 #  define BOOST_NO_EXCEPTIONS
00043 #endif
00044 
00045 #if (__DMC__ < 0x840)
00046 #  if defined(BOOST_ASSERT_CONFIG)
00047 #     error "Unknown compiler version - please run the configure tests and report the results"
00048 #  endif
00049 #endif

Generated on Wed Jan 21 15:32:09 2009 for SystemC by  doxygen 1.5.5