source: NonGTP/Boost/boost/config/compiler/kai.hpp @ 857

Revision 857, 1.1 KB checked in by igarcia, 18 years ago (diff)
Line 
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)
7
8//  See http://www.boost.org for most recent version.
9
10//  Kai C++ compiler setup:
11
12#include "boost/config/compiler/common_edg.hpp"
13
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
17#   endif
18
19// see also common_edg.hpp which needs a special check for __KCC
20# if !defined(_EXCEPTIONS)
21#     define BOOST_NO_EXCEPTIONS
22# endif
23
24#define BOOST_COMPILER "Kai C++ version " BOOST_STRINGIZE(__KCC_VERSION)
25
26//
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"
31#  endif
32#endif
33
34
35
Note: See TracBrowser for help on using the repository browser.