[Rcpp-devel] [PATCH] Be more liberal in accepting pre-processor defines for 64-bit HAS_LONG_LONG

Murray Stokely murray at stokely.org
Thu Sep 12 04:05:47 CEST 2013


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.

Patch attached or at :

http://www.stokely.org/patches/compiler.int64.diff

      - Murray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20130911/dd919a37/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compiler.int64.diff
Type: application/octet-stream
Size: 451 bytes
Desc: not available
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20130911/dd919a37/attachment.obj>


More information about the Rcpp-devel mailing list