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-02-13 03:03:58


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

Comment (by anonymous):

 {{{
 wchan_at_speech07:/tmp$ cat test.cc
 #include <iostream>

 typedef __int128 Cint128_1;
 __extension__ typedef __int128 Cint128_2;

 int main(int argc, char* argv[]) {
 #ifdef __SIZEOF_INT128__
   std::cout << "__SIZEOF_INT128__ = " << __SIZEOF_INT128__ << std::endl;
   std::cout << "sizeof(Cint128_1) = " << sizeof(Cint128_1) << std::endl;
   std::cout << "sizeof(Cint128_1) = " << sizeof(Cint128_2) << std::endl;
 #else
   std::cout << "Nope! no __SIZEOF_INT128__" << std::endl;
 #endif
 }

 wchan_at_speech07:/tmp$ g++ --version && g++ -o test.gcc test.cc &&
 ./test.gcc
 g++ (GCC) 4.6.3
 Copyright (C) 2011 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.

 __SIZEOF_INT128__ = 16
 sizeof(Cint128_1) = 16
 sizeof(Cint128_1) = 16
 wchan_at_speech07:/tmp$ nvcc --version && nvcc -o test.nvcc test.cc &&
 ./test.nvcc
 nvcc: NVIDIA (R) Cuda compiler driver
 Copyright (c) 2005-2012 NVIDIA Corporation
 Built on Thu_Apr__5_00:24:31_PDT_2012
 Cuda compilation tools, release 4.2, V0.2.1221
 __SIZEOF_INT128__ = 16
 sizeof(Cint128_1) = 16
 sizeof(Cint128_1) = 16

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8048#comment:5>
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:12 UTC