<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span></span></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>That looks alright to me. But apparently dirk has another way to do it that does not depend on R 3.1.0, whatever works.  </div><div><br></div><div>Romain</div><div><br>Le 30 avr. 2014 à 16:15, JJ Allaire <<a href="mailto:jj.allaire@gmail.com">jj.allaire@gmail.com</a>> a écrit :<br><br></div><blockquote type="cite"><div><div dir="ltr">Romain,<div><br></div><div>I think this PR addresses the issue:</div><div><br></div><div><a href="https://github.com/RcppCore/Rcpp/pull/143">https://github.com/RcppCore/Rcpp/pull/143</a><br></div><div><br></div>
<div>I've tested and it seems to work as intended. Is this fix you were conceiving of or is there something more we should be doing?</div><div><br></div><div>J.J.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Apr 30, 2014 at 9:19 AM, Romain Francois <span dir="ltr"><<a href="mailto:romain@r-enthusiasts.com" target="_blank">romain@r-enthusiasts.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The plugin as implemented now is not portable. The easiest way to make it portable would be to define the USE_CXX1X environment variable, which R knows how to interpret.<br>
<br>
This way R would do what makes sense, i.e. use -std=c++0x on windows (for which rtools is limited to gcc 4.6.3 now) and -std=c++11 when it makes sense.<br>
<br>
Romain<br>
<br>
Le 30 avr. 2014 à 15:10, Darren Cook <<a href="mailto:darren@dcook.org">darren@dcook.org</a>> a écrit :<br>
<div class="im HOEnZb"><br>
>> The problem seems to be that Rcpp uses -std=c++11; however, g++ 4.6.3,<br>
>> which is what comes with the latest version of Rtools on Windows, uses<br>
>> -std=c++0x or -std=gnu++0x ...<br>
><br>
> In g++ 4.8.1 those two are deprecated in favour of -std=c++11 and<br>
> -std=gnu++11 respectively; however they are still available.<br>
><br>
> Darren<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Rcpp-devel mailing list<br>
<a href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a><br>
</div></div></blockquote></div><br></div>
</div></blockquote></div></body></html>