~ubuntu-branches/ubuntu/warty/aqsis/warty

« back to all changes in this revision

Viewing changes to boost/boost/config/compiler/kai.hpp

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-08-24 07:25:04 UTC
  • Revision ID: james.westby@ubuntu.com-20040824072504-zf993vnevvisdsvb
Tags: upstream-0.9.1
ImportĀ upstreamĀ versionĀ 0.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//  (C) Copyright Boost.org 2001. Permission to copy, use, modify, sell and
 
2
//  distribute this software is granted provided this copyright notice appears
 
3
//  in all copies. This software is provided "as is" without express or implied
 
4
//  warranty, and with no claim as to its suitability for any purpose.
 
5
 
 
6
//  See http://www.boost.org for most recent version.
 
7
 
 
8
//  Kai C++ compiler setup:
 
9
 
 
10
#include "boost/config/compiler/common_edg.hpp"
 
11
 
 
12
#   if (__KCC_VERSION <= 4001) || !defined(BOOST_STRICT_CONFIG)
 
13
      // at least on Sun, the contents of <cwchar> is not in namespace std
 
14
#     define BOOST_NO_STDC_NAMESPACE
 
15
#   endif
 
16
 
 
17
// see also common_edg.hpp which needs a special check for __KCC
 
18
# if !defined(_EXCEPTIONS)
 
19
#     define BOOST_NO_EXCEPTIONS
 
20
# endif
 
21
 
 
22
#define BOOST_COMPILER "Kai C++ version " BOOST_STRINGIZE(__KCC_VERSION)
 
23
 
 
24
//
 
25
// last known and checked version is 4001:
 
26
#if (__KCC_VERSION > 4001)
 
27
#  if defined(BOOST_ASSERT_CONFIG)
 
28
#     error "Unknown compiler version - please run the configure tests and report the results"
 
29
#  endif
 
30
#endif
 
31
 
 
32