<div dir="ltr">Hi,<div><br></div><div>I am currently trying to compile cln with linkage against libc++. My aproach was:</div><div><br></div><div>/configure CXX=/usr/bin/clang++ CXXFLAGS=-stdlib=libc++<br></div><div><br></div>
<div>However this does not work as I get erroneus output such as</div><div><br></div><div><div>In file included from base/cl_alloca.cc:4:</div><div>In file included from ./base/cl_sysdep.h:56:</div><div>In file included from ./base/cl_macros.h:7:</div>
<div>../include/cln/exception.h:14:24: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'</div><div> : std::runtime_error(std::string()) {}</div>
<div> ^</div><div>/usr/bin/../lib/c++/v1/iosfwd:187:28: note: template is declared here</div><div> class _LIBCPP_TYPE_VIS basic_string;</div></div><div><br></div><div>What does this mean and what am I doing wrong? I need this in order to compile ginac with the same linkage as it is used in a project with c++11 features.</div>
<div><br></div><div>Best regards,</div><div>Stefan</div></div>