From 082f493831460054a321c628e222acdc23f960a8 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 19 Feb 2013 17:49:35 +0000 Subject: [PATCH] Add comment on change. Refs #8048. [SVN r83014] --- include/boost/config/compiler/gcc.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/boost/config/compiler/gcc.hpp b/include/boost/config/compiler/gcc.hpp index 4a87e217..27a314da 100644 --- a/include/boost/config/compiler/gcc.hpp +++ b/include/boost/config/compiler/gcc.hpp @@ -154,7 +154,14 @@ #endif // -// Recent GCC versions have __int128 when in 64-bit mode: +// Recent GCC versions have __int128 when in 64-bit mode. +// +// We disable this if the compiler is really nvcc as it +// doesn't actually support __int128 as of CUDA_VERSION=5000 +// even though it defines __SIZEOF_INT128__. +// See https://svn.boost.org/trac/boost/ticket/8048 +// Only re-enable this for nvcc if you're absolutely sure +// of the circumstances under which it's supported: // #if defined(__SIZEOF_INT128__) && !defined(__CUDACC__) # define BOOST_HAS_INT128