On 11 September 2013 at 19:05, Murray Stokely wrote: | The default llvm/clang compiler on MacOS X 10.8 doesn't get 64-bit support with | Rcpp because compilers.h is specifically looking for -std=c++0x as is required | by some versions of gcc. | | This is overly restrictive as e.g. __LP64__ platforms with _LONG_LONG_MAX set | will also certainly have a suitable long long type.
__LP64__ is the opposite, and too generous. It gets eg turned on by my default (non -std=c++0x) build with g++. Per http://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html it seems __LP64__ is a standard GNU extension. So I think we need something better. Is there something that is true IFF both clang and c++11 are selected? Dirk | Patch attached or at : | | http://www.stokely.org/patches/compiler.int64.diff | | - Murray | xuntyped binary data, compiler.int64 [Click mouse-2 to save to a file] | _______________________________________________ | Rcpp-devel mailing list | Rcpp-devel@lists.r-forge.r-project.org | https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel