Re: [Rcpp-devel] Rcpp/longlong.h

2013-09-20 Thread Dirk Eddelbuettel
On 20 September 2013 at 01:18, rom...@r-enthusiasts.com wrote: | I've now moved all occurences of long long to a single file : | Rcpp/longlong.h | | Currently this file is included by RcppCommon.h, but we could e.g. | decide not to include it by default so that client code that wants to | use

Re: [Rcpp-devel] long long

2013-09-20 Thread Dirk Eddelbuettel
On 20 September 2013 at 09:46, Kasper Daniel Hansen wrote: | I don't know why this thread only popped up now in my gmail; I have been | following it on R-devel. In case you really care the full thread (incl your post) is http://thread.gmane.org/gmane.comp.lang.r.rcpp/6057 but as I said we w

Re: [Rcpp-devel] long long

2013-09-20 Thread Kasper Daniel Hansen
I don't know why this thread only popped up now in my gmail; I have been following it on R-devel. I have just skimmed the extensive discussion, but I just want to add a few things - presently, the default compiler on OS X Mountain Lion is not clang, which is what Romain was testing with, but a s

Re: [Rcpp-devel] long long

2013-09-20 Thread Romain Francois
Le 20 sept. 2013 à 15:37, Dirk Eddelbuettel a écrit : > > On 20 September 2013 at 12:47, Smith, Dale (Norcross) wrote: > | " After reading this thread and others, I would tentatively suggest > | maintaining a C++11 compliant version on r-forge for those who need it. " > > Go for it. > > If

Re: [Rcpp-devel] long long

2013-09-20 Thread Dirk Eddelbuettel
On 20 September 2013 at 12:47, Smith, Dale (Norcross) wrote: | " After reading this thread and others, I would tentatively suggest | maintaining a C++11 compliant version on r-forge for those who need it. " Go for it. If you re-read Romain's mail(s) it will become that he is unlikely to put th

Re: [Rcpp-devel] long long

2013-09-20 Thread Smith, Dale (Norcross)
I agree with Romain's approach, which I was going to send later today: " After reading this thread and others, I would tentatively suggest maintaining a C++11 compliant version on r-forge for those who need it. I do recognize this is additional work, but may be worth the effort. A case can be ma

Re: [Rcpp-devel] long long

2013-09-20 Thread romain
Le 2013-09-20 14:24, Dirk Eddelbuettel a écrit : Just to bring closure to this thread: Per Section 1.7 of the "Writing R Extensions" manual, the 'C++98' standard, without any C99 extensions, is prescribed by CRAN. That is not the way I read it. It says to use the tools given by the compiler

Re: [Rcpp-devel] long long

2013-09-20 Thread Dirk Eddelbuettel
Just to bring closure to this thread: Per Section 1.7 of the "Writing R Extensions" manual, the 'C++98' standard, without any C99 extensions, is prescribed by CRAN. That explicitly excludes long long. So we are back to where we were years ago: you only get 'long long' in Rcpp if you enable the '-