]> git.lyx.org Git - features.git/blobdiff - boost/boost/config/select_compiler_config.hpp
update boost to 1.44
[features.git] / boost / boost / config / select_compiler_config.hpp
index 9141cd6376ac10b1de03dfa391393276a3fe1cc6..f9b086ad43732905dc42b5b964df6d68ac11b332 100644 (file)
@@ -15,6 +15,7 @@
 // compilers we support:
 
 #   define BOOST_CXX_GCCXML   0
+#   define BOOST_CXX_CLANG    0
 #   define BOOST_CXX_COMO     0
 #   define BOOST_CXX_DMC      0
 #   define BOOST_CXX_INTEL    0
@@ -31,6 +32,7 @@
 #   define BOOST_CXX_IBMCPP   0
 #   define BOOST_CXX_MSVC     0
 #   define BOOST_CXX_PGI      0
+#   define BOOST_CXX_NVCC     0
 
 
 // locate which compiler we are using and define
 // GCC-XML emulates other compilers, it has to appear first here!
 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc_xml.hpp"
 
+#elif defined __CUDACC__
+//  NVIDIA CUDA C++ compiler for GPU
+#   define BOOST_COMPILER_CONFIG "boost/config/compiler/nvcc.hpp"
+
 #elif defined __COMO__
 //  Comeau C++
 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"
 
+#elif defined __clang__
+//  Clang C++ emulates GCC, so it has to appear early.
+#   define BOOST_COMPILER_CONFIG "boost/config/compiler/clang.hpp"
+
 #elif defined __DMC__
 //  Digital Mars C++
 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/digitalmars.hpp"