[Rd] Using long long types in C++

Patrick Welche prlw1 at cam.ac.uk
Fri Sep 20 02:31:45 CEST 2013


On Fri, Sep 20, 2013 at 12:51:52AM +0200, romain at r-enthusiasts.com wrote:
> In Rcpp we'd like to do something useful for types such as long long
> and unsigned long long.
...
> But apparently this is still not enough and on some versions of gcc
> (e.g. 4.7 something), -pedantic still generates the warnings unless
> we also use -Wno-long-long

Can you also add -std=c++0x or is that considered as bad as adding
-Wno-long-long?

(and why not use autoconf's AC_TYPE_LONG_LONG_INT and
AC_TYPE_UNSIGNED_LONG_LONG_INT for the tests?)

Cheers,

Patrick



More information about the R-devel mailing list