Re: [Boost-bugs] [Boost C++ Libraries] #8048: Boost 1.53 + GCC 4.6.3 __int128 undefined.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8048: Boost 1.53 + GCC 4.6.3 __int128 undefined.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-08 18:19:30


#8048: Boost 1.53 + GCC 4.6.3 __int128 undefined.
-------------------------------+-------------------------
  Reporter: wchan212@… | Owner: johnmaddock
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: config
   Version: Boost 1.53.0 | Severity: Showstopper
Resolution: fixed | Keywords:
-------------------------------+-------------------------

Comment (by anonymous):

 (Original bug filer) posting.


 {{{
 wchan:/private/tmp$ gcc --version
 gcc (GCC) 4.7.3
 Copyright (C) 2012 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions. There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.

 wchan:/private/tmp$ nvcc --version
 nvcc: NVIDIA (R) Cuda compiler driver
 Copyright (c) 2005-2013 NVIDIA Corporation
 Built on Wed_Jul_10_11:16:01_PDT_2013
 Cuda compilation tools, release 5.5, V5.5.0
 wchan:/private/tmp$ cat test.cu
 // #include <boost/functional/hash.hpp>
 // If I uncomment the line above, it will not compile.
 // error: identifier "__int128" is undefined

 #include <iostream>

 int main(int argc, char* argv[]) {
 #if defined(__CUDACC__)
   std::cout << "__CUDACC__ == 1" << std::endl;
 #else
   std::cout << "__CUDACC__ == 0" << std::endl;
 #endif
 }

 wchan:/private/tmp$ nvcc test.cu
 wchan:/private/tmp$ ./a.out
 __CUDACC__ == 1
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8048#comment:34>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC