[Rcpp-commits] r4472 - in pkg/Rcpp: . inst/include/Rcpp/platform

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Sep 12 12:02:13 CEST 2013


Author: romain
Date: 2013-09-12 12:02:11 +0200 (Thu, 12 Sep 2013)
New Revision: 4472

Modified:
   pkg/Rcpp/ChangeLog
   pkg/Rcpp/inst/include/Rcpp/platform/compiler.h
Log:
murray long long patch

Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog	2013-09-11 12:39:36 UTC (rev 4471)
+++ pkg/Rcpp/ChangeLog	2013-09-12 10:02:11 UTC (rev 4472)
@@ -1,3 +1,8 @@
+2013-09-12 Romain Francois <romain at r-enthusiasts.com>
+
+	* include/Rcpp/platform/compiler.h : patch submitted by Murray for better
+	support of long long type. 
+
 2013-08-31  Dirk Eddelbuettel  <edd at debian.org>
 
 	* inst/doc/*: Moved all vignettes to vignettes/*

Modified: pkg/Rcpp/inst/include/Rcpp/platform/compiler.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/platform/compiler.h	2013-09-11 12:39:36 UTC (rev 4471)
+++ pkg/Rcpp/inst/include/Rcpp/platform/compiler.h	2013-09-12 10:02:11 UTC (rev 4472)
@@ -185,7 +185,7 @@
 #endif
 
 #ifdef __GNUC__
-#ifdef __GXX_EXPERIMENTAL_CXX0X__
+#if defined(__GXX_EXPERIMENTAL_CXX0X__) || defined(__LP64__)
 #ifdef __LONG_LONG_MAX__
     __extension__ typedef long long int rcpp_long_long_type;
     __extension__ typedef unsigned long long int rcpp_ulong_long_type;



More information about the Rcpp-commits mailing list