Boost C++ Libraries: Ticket #10369: Using boost in cu file compiled with nvcc and icc as host compiler fails. https://svn.boost.org/trac10/ticket/10369 <p> Compiling the attached reproducer with nvcc and icc as host compiler fails with an error: </p> <p> $ make nvcc -ccbin icc -arch=sm_20 -I/shared/apps/rhel-6.2/libs/boost-1.55/include -o test test.cu /shared/apps/rhel-6.2/libs/boost-1.55/include/boost/config/suffix.hpp(496): error: identifier "<span class="underline">int128" is undefined </span></p> <p> /shared/apps/rhel-6.2/libs/boost-1.55/include/boost/config/suffix.hpp(497): error: expected a ";" </p> <p> 2 errors detected in the compilation of "/tmp/tmpxft_000077b7_00000000-8_test.cpp1.ii". make: <strong>* [test] Error 2 </strong></p> <p> This also happens with other components of boost assert was chosen to create a minimal reproducer. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10369 Trac 1.4.3 Jiri Kraus <jkraus@…> Mon, 18 Aug 2014 11:28:31 GMT attachment set https://svn.boost.org/trac10/ticket/10369 https://svn.boost.org/trac10/ticket/10369 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">test.cu</span> </li> </ul> <p> Reproducer </p> Ticket Jiri Kraus <jkraus@…> Mon, 18 Aug 2014 11:28:44 GMT attachment set https://svn.boost.org/trac10/ticket/10369 https://svn.boost.org/trac10/ticket/10369 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">Makefile</span> </li> </ul> <p> Reproducer </p> Ticket Antony Polukhin Fri, 22 Aug 2014 13:53:18 GMT component changed; owner set https://svn.boost.org/trac10/ticket/10369#comment:1 https://svn.boost.org/trac10/ticket/10369#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 John Maddock Fri, 22 Aug 2014 18:10:14 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10369#comment:2 https://svn.boost.org/trac10/ticket/10369#comment:2 <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> This should be fixed with <a class="ext-link" href="https://github.com/boostorg/config/commit/053f0e420a36c1166bbd145aa56f404a1e10a018"><span class="icon">​</span>https://github.com/boostorg/config/commit/053f0e420a36c1166bbd145aa56f404a1e10a018</a> </p> Ticket anonymous Fri, 22 Aug 2014 19:03:57 GMT <link>https://svn.boost.org/trac10/ticket/10369#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10369#comment:3</guid> <description> <p> Thanks for the quick fix. Jiri </p> </description> <category>Ticket</category> </item> </channel> </rss>