First public contribution.
1 // (C) Copyright John Maddock 2001.
2 // (C) Copyright David Abrahams 2002.
3 // (C) Copyright Aleksey Gurtovoy 2002.
4 // Use, modification and distribution are subject to the
5 // Boost Software License, Version 1.0. (See accompanying file
6 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 // See http://www.boost.org for most recent version.
10 // Kai C++ compiler setup:
12 #include "boost/config/compiler/common_edg.hpp"
14 # if (__KCC_VERSION <= 4001) || !defined(BOOST_STRICT_CONFIG)
15 // at least on Sun, the contents of <cwchar> is not in namespace std
16 # define BOOST_NO_STDC_NAMESPACE
19 // see also common_edg.hpp which needs a special check for __KCC
20 # if !defined(_EXCEPTIONS)
21 # define BOOST_NO_EXCEPTIONS
24 #define BOOST_COMPILER "Kai C++ version " BOOST_STRINGIZE(__KCC_VERSION)
27 // last known and checked version is 4001:
28 #if (__KCC_VERSION > 4001)
29 # if defined(BOOST_ASSERT_CONFIG)
30 # error "Unknown compiler version - please run the configure tests and report the results"