Ticket #8647: nvcc.hpp.patch

File nvcc.hpp.patch, 3.1 KB (added by ryo-nishimura@…, 9 years ago)
  • boost/config/compiler/nvcc.hpp

     
    1717
    1818// Boost support macro for NVCC
    1919// NVCC Basically behaves like some flavor of MSVC6 + some specific quirks
    20 #ifdef __GNUC__
     20#if defined(__GCCXML__)
     21// GCC-XML emulates other compilers, it has to appear first here!
     22#include <"boost/config/compiler/gcc_xml.hpp">
    2123
    22 #include <boost/config/compiler/gcc.hpp>
     24#elif defined(_CRAYC)
     25// EDG based Cray compiler:
     26#include <"boost/config/compiler/cray.hpp">
    2327
    24 #elif defined(_MSC_VER)
     28#elif defined __COMO__
     29//  Comeau C++
     30#include <"boost/config/compiler/comeau.hpp">
    2531
    26 #include <boost/config/compiler/visualc.hpp>
     32#elif defined(__PATHSCALE__) && (__PATHCC__ >= 4)
     33// PathScale EKOPath compiler (has to come before clang and gcc)
     34#include <"boost/config/compiler/pathscale.hpp">
    2735
     36#elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
     37//  Intel
     38#include <"boost/config/compiler/intel.hpp">
     39
     40#elif defined __clang__
     41//  Clang C++ emulates GCC, so it has to appear early.
     42#include <"boost/config/compiler/clang.hpp">
     43
     44#elif defined __DMC__
     45//  Digital Mars C++
     46#include <"boost/config/compiler/digitalmars.hpp">
     47
     48# elif defined __GNUC__
     49//  GNU C++:
     50#include <"boost/config/compiler/gcc.hpp">
     51
     52#elif defined __KCC
     53//  Kai C++
     54#include <"boost/config/compiler/kai.hpp">
     55
     56#elif defined __sgi
     57//  SGI MIPSpro C++
     58#include <"boost/config/compiler/sgi_mipspro.hpp">
     59
     60#elif defined __DECCXX
     61//  Compaq Tru64 Unix cxx
     62#include <"boost/config/compiler/compaq_cxx.hpp">
     63
     64#elif defined __ghs
     65//  Greenhills C++
     66#include <"boost/config/compiler/greenhills.hpp">
     67
     68#elif defined __CODEGEARC__
     69//  CodeGear - must be checked for before Borland
     70#include <"boost/config/compiler/codegear.hpp">
     71
     72#elif defined __BORLANDC__
     73//  Borland
     74#include <"boost/config/compiler/borland.hpp">
     75
     76#elif defined  __MWERKS__
     77//  Metrowerks CodeWarrior
     78#include <"boost/config/compiler/metrowerks.hpp">
     79
     80#elif defined  __SUNPRO_CC
     81//  Sun Workshop Compiler C++
     82#include <"boost/config/compiler/sunpro_cc.hpp">
     83
     84#elif defined __HP_aCC
     85//  HP aCC
     86#include <"boost/config/compiler/hp_acc.hpp">
     87
     88#elif defined(__MRC__) || defined(__SC__)
     89//  MPW MrCpp or SCpp
     90#include <"boost/config/compiler/mpw.hpp">
     91
     92#elif defined(__IBMCPP__)
     93//  IBM Visual Age
     94#include <"boost/config/compiler/vacpp.hpp">
     95
     96#elif defined(__PGI)
     97//  Portland Group Inc.
     98#include <"boost/config/compiler/pgi.hpp">
     99
     100#elif defined _MSC_VER
     101//  Microsoft Visual C++
     102//
     103//  Must remain the last #elif since some other vendors (Metrowerks, for
     104//  example) also #define _MSC_VER
     105#include <"boost/config/compiler/visualc.hpp">
     106
     107#elif defined (BOOST_ASSERT_CONFIG)
     108// this must come last - generate an error if we don't
     109// recognise the compiler:
     110#  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)"
     111
    28112#endif