os/ossrv/ossrv_pub/boost_apis/boost/config/compiler/digitalmars.hpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
//  Copyright (C) Christof Meerwald 2003
sl@0
     2
//  Copyright (C) Dan Watkins 2003
sl@0
     3
//
sl@0
     4
//  Use, modification and distribution are subject to the 
sl@0
     5
//  Boost Software License, Version 1.0. (See accompanying file 
sl@0
     6
//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
sl@0
     7
sl@0
     8
//  Digital Mars C++ compiler setup:
sl@0
     9
#define BOOST_COMPILER __DMC_VERSION_STRING__
sl@0
    10
sl@0
    11
#define BOOST_HAS_LONG_LONG
sl@0
    12
#define BOOST_HAS_PRAGMA_ONCE
sl@0
    13
sl@0
    14
#if (__DMC__ <= 0x833)
sl@0
    15
#define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
sl@0
    16
#define BOOST_NO_TEMPLATE_TEMPLATES
sl@0
    17
#define BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING
sl@0
    18
#define BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS
sl@0
    19
#define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
sl@0
    20
#endif
sl@0
    21
#if (__DMC__ <= 0x840) || !defined(BOOST_STRICT_CONFIG)
sl@0
    22
#define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
sl@0
    23
#define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
sl@0
    24
#define BOOST_NO_OPERATORS_IN_NAMESPACE
sl@0
    25
#define BOOST_NO_UNREACHABLE_RETURN_DETECTION
sl@0
    26
#define BOOST_NO_SFINAE
sl@0
    27
#define BOOST_NO_USING_TEMPLATE
sl@0
    28
#define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
sl@0
    29
#endif
sl@0
    30
sl@0
    31
//
sl@0
    32
// has macros:
sl@0
    33
#if (__DMC__ >= 0x840)
sl@0
    34
#define BOOST_HAS_DIRENT_H
sl@0
    35
#define BOOST_HAS_STDINT_H
sl@0
    36
#define BOOST_HAS_WINTHREADS
sl@0
    37
#endif
sl@0
    38
sl@0
    39
sl@0
    40
// check for exception handling support:
sl@0
    41
#ifndef _CPPUNWIND
sl@0
    42
#  define BOOST_NO_EXCEPTIONS
sl@0
    43
#endif
sl@0
    44
sl@0
    45
#if (__DMC__ < 0x840)
sl@0
    46
#  if defined(BOOST_ASSERT_CONFIG)
sl@0
    47
#     error "Unknown compiler version - please run the configure tests and report the results"
sl@0
    48
#  endif
sl@0
    49
#endif