From prlw1 at cam.ac.uk  Fri Sep 20 02:31:45 2013
From: prlw1 at cam.ac.uk (Patrick Welche)
Date: Fri, 20 Sep 2013 01:31:45 +0100
Subject: [Rd] Using long long types in C++
In-Reply-To: <9df9f69d52dfdddccbf8e32f18dd227a@r-enthusiasts.com>
References: <9df9f69d52dfdddccbf8e32f18dd227a@r-enthusiasts.com>
Message-ID: <20130920003145.GE482@quark>

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



[Rd] Using long long types in C++
Patrick Welche