os/ossrv/ossrv_pub/boost_apis/boost/config/compiler/kai.hpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
//  (C) Copyright John Maddock 2001. 
sl@0
     2
//  (C) Copyright David Abrahams 2002. 
sl@0
     3
//  (C) Copyright Aleksey Gurtovoy 2002. 
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
//  See http://www.boost.org for most recent version.
sl@0
     9
sl@0
    10
//  Kai C++ compiler setup:
sl@0
    11
sl@0
    12
#include "boost/config/compiler/common_edg.hpp"
sl@0
    13
sl@0
    14
#   if (__KCC_VERSION <= 4001) || !defined(BOOST_STRICT_CONFIG)
sl@0
    15
      // at least on Sun, the contents of <cwchar> is not in namespace std
sl@0
    16
#     define BOOST_NO_STDC_NAMESPACE
sl@0
    17
#   endif
sl@0
    18
sl@0
    19
// see also common_edg.hpp which needs a special check for __KCC
sl@0
    20
# if !defined(_EXCEPTIONS)
sl@0
    21
#     define BOOST_NO_EXCEPTIONS
sl@0
    22
# endif
sl@0
    23
sl@0
    24
#define BOOST_COMPILER "Kai C++ version " BOOST_STRINGIZE(__KCC_VERSION)
sl@0
    25
sl@0
    26
//
sl@0
    27
// last known and checked version is 4001:
sl@0
    28
#if (__KCC_VERSION > 4001)
sl@0
    29
#  if defined(BOOST_ASSERT_CONFIG)
sl@0
    30
#     error "Unknown compiler version - please run the configure tests and report the results"
sl@0
    31
#  endif
sl@0
    32
#endif
sl@0
    33
sl@0
    34
sl@0
    35