Boost C++ Libraries: Ticket #10418: clang header doesn't consider NVCC __int128 issue https://svn.boost.org/trac10/ticket/10418 <p> This was seen for GCC in <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8048" title="#8048: Bugs: Boost 1.53 + GCC 4.6.3 __int128 undefined. (closed: fixed)">#8048</a>, a fix should look like </p> <p> #if defined(<span class="underline">SIZEOF_INT128</span>) &amp;&amp; !defined(<span class="underline">CUDACC</span>) # define BOOST_HAS_INT128 #endif </p> <p> in boost/config/compiler/clang.hpp, where it currently looks like </p> <p> #if defined(<span class="underline">SIZEOF_INT128</span>) # define BOOST_HAS_INT128 #endif </p> <p> This prevents some CUDA related code to compile properly on MacOS (which uses clang). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10418 Trac 1.4.3 viboes Sat, 30 Aug 2014 12:55:47 GMT component changed; owner set https://svn.boost.org/trac10/ticket/10418#comment:1 https://svn.boost.org/trac10/ticket/10418#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">John Maddock</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">config</span> </li> </ul> Ticket anonymous Fri, 10 Oct 2014 07:19:18 GMT <link>https://svn.boost.org/trac10/ticket/10418#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10418#comment:2</guid> <description> <p> I have reproduced this problem with boost 1.56 on OS X 10.9 with CUDA 6.5. Compilation gave the error: </p> <p> /usr/local/include/boost/config/suffix.hpp(496): error: identifier "<span class="underline">int128" is undefined /usr/local/include/boost/config/suffix.hpp(497): error: expected a ";" </span></p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Fri, 10 Oct 2014 16:24:57 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/10418#comment:3 https://svn.boost.org/trac10/ticket/10418#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed in <a class="ext-link" href="https://github.com/boostorg/config/commit/441311c950a40b9bea824016e9e43d7af5e3d4b0"><span class="icon">​</span>https://github.com/boostorg/config/commit/441311c950a40b9bea824016e9e43d7af5e3d4b0</a> </p> Ticket