Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:34:48

0001 //  Boost compiler configuration selection header file
0002 
0003 //  (C) Copyright John Maddock 2001 - 2003. 
0004 //  (C) Copyright Martin Wille 2003.
0005 //  (C) Copyright Guillaume Melquiond 2003.
0006 //
0007 //  Distributed under the Boost Software License, Version 1.0.
0008 //  (See accompanying file LICENSE_1_0.txt or copy at
0009 //   http://www.boost.org/LICENSE_1_0.txt)
0010 
0011 //  See http://www.boost.org/ for most recent version.
0012 
0013 // locate which compiler we are using and define
0014 // BOOST_COMPILER_CONFIG as needed: 
0015 
0016 #if defined __CUDACC__
0017 //  NVIDIA CUDA C++ compiler for GPU
0018 #   include "boost/config/compiler/nvcc.hpp"
0019 
0020 #endif
0021 
0022 #if defined(__GCCXML__)
0023 // GCC-XML emulates other compilers, it has to appear first here!
0024 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc_xml.hpp"
0025 
0026 #elif defined(_CRAYC)
0027 // EDG based Cray compiler:
0028 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/cray.hpp"
0029 
0030 #elif defined __COMO__
0031 //  Comeau C++
0032 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"
0033 
0034 #elif defined(__PATHSCALE__) && (__PATHCC__ >= 4)
0035 // PathScale EKOPath compiler (has to come before clang and gcc)
0036 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/pathscale.hpp"
0037 
0038 #elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
0039 //  Intel
0040 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp"
0041 
0042 #elif defined __clang__ && !defined(__ibmxl__) && !defined(__CODEGEARC__)
0043 //  Clang C++ emulates GCC, so it has to appear early.
0044 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/clang.hpp"
0045 
0046 #elif defined __DMC__
0047 //  Digital Mars C++
0048 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/digitalmars.hpp"
0049 
0050 #elif defined __DCC__
0051 //  Wind River Diab C++
0052 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/diab.hpp"
0053 
0054 #elif defined(__PGI)
0055 //  Portland Group Inc.
0056 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/pgi.hpp"
0057 
0058 # elif defined(__GNUC__) && !defined(__ibmxl__)
0059 //  GNU C++:
0060 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc.hpp"
0061 
0062 #elif defined __KCC
0063 //  Kai C++
0064 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/kai.hpp"
0065 
0066 #elif defined __sgi
0067 //  SGI MIPSpro C++
0068 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/sgi_mipspro.hpp"
0069 
0070 #elif defined __DECCXX
0071 //  Compaq Tru64 Unix cxx
0072 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/compaq_cxx.hpp"
0073 
0074 #elif defined __ghs
0075 //  Greenhills C++
0076 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/greenhills.hpp"
0077 
0078 #elif defined __CODEGEARC__
0079 //  CodeGear - must be checked for before Borland
0080 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/codegear.hpp"
0081 
0082 #elif defined __BORLANDC__
0083 //  Borland
0084 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/borland.hpp"
0085 
0086 #elif defined  __MWERKS__
0087 //  Metrowerks CodeWarrior
0088 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/metrowerks.hpp"
0089 
0090 #elif defined  __SUNPRO_CC
0091 //  Sun Workshop Compiler C++
0092 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/sunpro_cc.hpp"
0093 
0094 #elif defined __HP_aCC
0095 //  HP aCC
0096 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/hp_acc.hpp"
0097 
0098 #elif defined(__MRC__) || defined(__SC__)
0099 //  MPW MrCpp or SCpp
0100 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/mpw.hpp"
0101 
0102 #elif defined(__IBMCPP__) && defined(__COMPILER_VER__) && defined(__MVS__)
0103 //  IBM z/OS XL C/C++
0104 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/xlcpp_zos.hpp"
0105 
0106 #elif defined(__ibmxl__)
0107 //  IBM XL C/C++ for Linux (Little Endian)
0108 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/xlcpp.hpp"
0109 
0110 #elif defined(__IBMCPP__)
0111 //  IBM Visual Age or IBM XL C/C++ for Linux (Big Endian)
0112 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/vacpp.hpp"
0113 
0114 #elif defined _MSC_VER
0115 //  Microsoft Visual C++
0116 //
0117 //  Must remain the last #elif since some other vendors (Metrowerks, for
0118 //  example) also #define _MSC_VER
0119 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/visualc.hpp"
0120 
0121 #elif defined (BOOST_ASSERT_CONFIG)
0122 // this must come last - generate an error if we don't
0123 // recognise the compiler:
0124 #  error "Unknown compiler - please configure (http://www.boost.org/libs/config/config.htm#configuring) and report the results to the main boost mailing list (http://www.boost.org/more/mailing_lists.htm#main)"
0125 
0126 #endif
0127 
0128 #if 0
0129 //
0130 // This section allows dependency scanners to find all the headers we *might* include:
0131 //
0132 #include <boost/config/compiler/gcc_xml.hpp>
0133 #include <boost/config/compiler/cray.hpp>
0134 #include <boost/config/compiler/comeau.hpp>
0135 #include <boost/config/compiler/pathscale.hpp>
0136 #include <boost/config/compiler/intel.hpp>
0137 #include <boost/config/compiler/clang.hpp>
0138 #include <boost/config/compiler/digitalmars.hpp>
0139 #include <boost/config/compiler/gcc.hpp>
0140 #include <boost/config/compiler/kai.hpp>
0141 #include <boost/config/compiler/sgi_mipspro.hpp>
0142 #include <boost/config/compiler/compaq_cxx.hpp>
0143 #include <boost/config/compiler/greenhills.hpp>
0144 #include <boost/config/compiler/codegear.hpp>
0145 #include <boost/config/compiler/borland.hpp>
0146 #include <boost/config/compiler/metrowerks.hpp>
0147 #include <boost/config/compiler/sunpro_cc.hpp>
0148 #include <boost/config/compiler/hp_acc.hpp>
0149 #include <boost/config/compiler/mpw.hpp>
0150 #include <boost/config/compiler/xlcpp_zos.hpp>
0151 #include <boost/config/compiler/xlcpp.hpp>
0152 #include <boost/config/compiler/vacpp.hpp>
0153 #include <boost/config/compiler/pgi.hpp>
0154 #include <boost/config/compiler/visualc.hpp>
0155 
0156 #endif
0157