<div style="font-family:arial,sans-serif;font-size:13px">I mis-stated there, with the -std flag.  With gcc 4.6.3 and -std=c++0x the compilation works just fine.  With both clang versions and and either c++0x or c++11 the errorsare encountered.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I don't have a later gcc installed to test with the -std=c++11.  (Yet.)</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Nov 19, 2012 at 11:39 AM, Dirk Eddelbuettel <span dir="ltr"><<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
On 19 November 2012 at 11:22, Thell Fowler wrote:<br>
| First:: Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)<br>
||<br>
|<br>
|<br>
|  >> setting environment variables:<br>
| PKG_LIBS = -lmpfr -lgmp -L/home/thell/R/library/Rcpp/lib -lRcpp -Wl,-rpath,/home/thell/R/library/Rcpp/lib<br>
| PKG_CPPFLAGS = -std=c++11<br>
<br>
</div>Romain may have been too subtle the other day:  This is NOT currently<br>
supported. We have not turned that flag in quite some time as CRAN won't let<br>
us use it.  If you really it, expect to do some work on the Rcpp source.<br>
<div class="im"><br>
| The code compiles and works (the warnings are expected for now) using g++.<br>
<br>
</div>Could you confirm that it also works with clang with the c++11 flag?<br>
<span class="HOEnZb"><font color="#888888"><br>
Dirk<br>
<br>
--<br>
Dirk Eddelbuettel | <a href="mailto:edd@debian.org">edd@debian.org</a> | <a href="http://dirk.eddelbuettel.com" target="_blank">http://dirk.eddelbuettel.com</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Sincerely,<br>Thell<br>
</div>