<div dir="ltr"><font face="arial, sans-serif">I fixed my problem:</font><div><font face="arial, sans-serif"><br></font></div><div><pre class="" style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;font-size:14px;vertical-align:baseline;background-color:rgb(238,238,238);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;overflow:auto;width:auto;max-height:600px;word-wrap:normal;color:rgb(0,0,0);line-height:18px">
<code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif"><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">.</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0)">/configure CXX=/</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">usr</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">/</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">bin</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">/</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">clang</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">++</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> CXXFLAGS</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">=</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0)">"-stdlib=libc++ -std=c++11"</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"> LDFLAGS</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">=</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0)">"-stdlib=libc++"</span></code></pre>
</div><div><code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif"><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0)">and then add an include for string (#include <string>) to exception.h (should be considered a bug? Thanks to Howard Hinnant from Stackoverflow for helping)</span></code></div>
<div><code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif"><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0)"><br>
</span></code></div><div><code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif"><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0)">Now CLN compiles as expected.</span></code></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/18 <span dir="ltr"><<a href="mailto:cln-list-request@ginac.de" target="_blank">cln-list-request@ginac.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Send CLN-list mailing list submissions to<br>
<a href="mailto:cln-list@ginac.de">cln-list@ginac.de</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://www.cebix.net/mailman/listinfo/cln-list" target="_blank">https://www.cebix.net/mailman/listinfo/cln-list</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:cln-list-request@ginac.de">cln-list-request@ginac.de</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:cln-list-owner@ginac.de">cln-list-owner@ginac.de</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of CLN-list digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Compile cln linked against libc++ (Stefan Schupp)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 17 Oct 2013 22:56:32 +0200<br>
From: Stefan Schupp <<a href="mailto:modass@gmx.de">modass@gmx.de</a>><br>
To: <a href="mailto:cln-list@ginac.de">cln-list@ginac.de</a><br>
Subject: [CLN-list] Compile cln linked against libc++<br>
Message-ID:<br>
<<a href="mailto:CAJTo4xS5JmquqEt52iAjren_HnVuXC_71NdJx76OsgcTo8EaXw@mail.gmail.com">CAJTo4xS5JmquqEt52iAjren_HnVuXC_71NdJx76OsgcTo8EaXw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
<br>
I am currently trying to compile cln with linkage against libc++. My<br>
aproach was:<br>
<br>
/configure CXX=/usr/bin/clang++ CXXFLAGS=-stdlib=libc++<br>
<br>
However this does not work as I get erroneus output such as<br>
<br>
In file included from base/cl_alloca.cc:4:<br>
In file included from ./base/cl_sysdep.h:56:<br>
In file included from ./base/cl_macros.h:7:<br>
../include/cln/exception.h:14:24: error: implicit instantiation of<br>
undefined template 'std::__1::basic_string<char,<br>
std::__1::char_traits<char>, std::__1::allocator<char> >'<br>
: std::runtime_error(std::string()) {}<br>
^<br>
/usr/bin/../lib/c++/v1/iosfwd:187:28: note: template is declared here<br>
class _LIBCPP_TYPE_VIS basic_string;<br>
<br>
What does this mean and what am I doing wrong? I need this in order to<br>
compile ginac with the same linkage as it is used in a project with c++11<br>
features.<br>
<br>
Best regards,<br>
Stefan<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.cebix.net/pipermail/cln-list/attachments/20131017/86210036/attachment-0001.html" target="_blank">http://www.cebix.net/pipermail/cln-list/attachments/20131017/86210036/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
CLN-list mailing list<br>
<a href="mailto:CLN-list@ginac.de">CLN-list@ginac.de</a><br>
<a href="https://www.cebix.net/mailman/listinfo/cln-list" target="_blank">https://www.cebix.net/mailman/listinfo/cln-list</a><br>
<br>
<br>
------------------------------<br>
<br>
End of CLN-list Digest, Vol 69, Issue 1<br>
***************************************<br>
</blockquote></div><br></div>