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: 2016-03-15 10:37:58


#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):

 Hi it's x86_64

 __SIZEOF_INT128__ = 16 when running from g++

 int main() {
 #ifdef __SIZEOF_INT128__
   std::cout << "__SIZEOF_INT128__ = " << __SIZEOF_INT128__ << std::endl;
 #else
   std::cout << "Nope! no __SIZEOF_INT128__" << std::endl;
 #endif
 return 0;
 }

 So I am essentially running a program in root, below is a minimal working
 example:

 root [0] .x test.C+

 And I receive this error:

 Error: class,struct,union or type __int128 not defined
 /usr/include/boost/config/suffix.hpp:30:

 //test
 #include <stdio.h>
 #include <iostream>

 #include "/home/rsmith/Desktop/boost_1_58_0/boost/filesystem/config.hpp"
 #include "/home/rsmith/Desktop/boost_1_58_0/boost/config/suffix.hpp"

 int test()

 {
 std::cout<<"here" << std::endl;
 return 0;

 }

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