Subject: [Boost-bugs] [Boost C++ Libraries] #10369: Using boost in cu file compiled with nvcc and icc as host compiler fails.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-18 11:28:12
#10369: Using boost in cu file compiled with nvcc and icc as host compiler fails.
-----------------------------------+------------------------------
Reporter: Jiri Kraus <jkraus@â¦> | Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.55.0
Severity: Problem | Keywords:
-----------------------------------+------------------------------
Compiling the attached reproducer with nvcc and icc as host compiler fails
with an error:
$ 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 "__int128" is undefined
/shared/apps/rhel-6.2/libs/boost-1.55/include/boost/config/suffix.hpp(497):
error: expected a ";"
2 errors detected in the compilation of
"/tmp/tmpxft_000077b7_00000000-8_test.cpp1.ii".
make: *** [test] Error 2
This also happens with other components of boost assert was chosen to
create a minimal reproducer.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10369> 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