Subject: [Boost-bugs] [Boost C++ Libraries] #10418: clang header doesn't consider NVCC __int128 issue
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-29 04:09:16
#10418: clang header doesn't consider NVCC __int128 issue
--------------------------+------------------------------
Reporter: qipeng.thu@⦠| Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.56.0
Severity: Problem | Keywords:
--------------------------+------------------------------
This was seen for GCC in #8048, a fix should look like
#if defined(__SIZEOF_INT128__) && !defined(__CUDACC__)
# define BOOST_HAS_INT128
#endif
in boost/config/compiler/clang.hpp, where it currently looks like
#if defined(__SIZEOF_INT128__)
# define BOOST_HAS_INT128
#endif
This prevents some CUDA related code to compile properly on MacOS (which
uses clang).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10418> 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