search for: rcpp_ulong_long_typ

Displaying 1 result from an estimated 1 matches for "rcpp_ulong_long_typ".

Did you mean: rcpp_ulong_long_type
2013 Sep 19
1
Using long long types in C++
...ugh and we also have to use __extension__ to disable warnings that are emitted by -pedantic. So we have something like this: #if defined(__GNUC__) && defined(__LONG_LONG_MAX__) __extension__ typedef long long int rcpp_long_long_type; __extension__ typedef unsigned long long int rcpp_ulong_long_type; #define RCPP_HAS_LONG_LONG_TYPES #endif and for the rest of what we do with these types, we use rcpp_long_long_type and rcpp_ulong_long_type and hide the code behind #if defined(RCPP_HAS_LONG_LONG_TYPES) But apparently this is still not enough and on some versions of gcc (e.g. 4.7 some...