Re: [Boost-bugs] [Boost C++ Libraries] #9610: boost fails to build with clang-3.4 and later

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9610: boost fails to build with clang-3.4 and later
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-02 15:23:55


#9610: boost fails to build with clang-3.4 and later
-------------------------------+--------------------------
  Reporter: anonymous | Owner: timblechmann
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: atomic
   Version: Boost 1.55.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------+--------------------------

Comment (by ruslan_baratov@…):

 Replying to [comment:11 andysem]:
> The compiler in topic does not support 128-bit integers, therefore the
 macro is not defined.

 Note that clang used to build universal library (x86_64 and i386).
 So result for me (Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM
 3.4svn), Xcode 5.1.1):
 * clang++ -arch i386 (OK, without any changes)
 * clang++ -arch x86_64 -DBOOST_HAS_INT128=1 (OK)

 To be honest adding `BOOST_HAS_INT128` will break `i386` compilation, so
 this workaround will not help for building universal library))

 Related: boost.2283326.n4.nabble.com/config-clang-int128-support-
 td4653826.html

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