[Rcpp-commits] r4081 - in pkg/Rcpp: . inst/include/Rcpp/hash
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Dec 5 05:34:18 CET 2012
Author: edd
Date: 2012-12-05 05:34:17 +0100 (Wed, 05 Dec 2012)
New Revision: 4081
Modified:
pkg/Rcpp/ChangeLog
pkg/Rcpp/inst/include/Rcpp/hash/hash.h
Log:
added include for inttypes.h which appears to be needed with g++-4.7 and later
Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog 2012-12-04 23:46:49 UTC (rev 4080)
+++ pkg/Rcpp/ChangeLog 2012-12-05 04:34:17 UTC (rev 4081)
@@ -1,3 +1,7 @@
+2012-12-04 Dirk Eddelbuettel <edd at debian.org>
+
+ * inst/include/Rcpp/hash/hash.h: Added include inttypes.h for intptr_t
+
2012-12-04 JJ Allaire <jj at rstudio.org>
* R/Attributes.R: use simple code generation for sourceCpp
@@ -17,15 +21,15 @@
Simon's fastmatch package
* include/Rcpp/sugar/functions/match.h: more efficient version of match
using new IndexHash
- * include/Rcpp/sugar/functions/unique.h: more efficient version of
- unique and in using IndexHash
- * include/Rcpp/sugar/functions/duplicated.h: more efficient version of
- duplicated and in using IndexHash
- * include/Rcpp/sugar/functions/self_match.h: more efficient version of
- self_match and in using IndexHash
- * include/Rcpp/vector/Vector.h: more efficiently create Vector from
- sugar expression that are already vectors, i.e. grab the SEXP
-
+ * include/Rcpp/sugar/functions/unique.h: more efficient version of
+ unique and in using IndexHash
+ * include/Rcpp/sugar/functions/duplicated.h: more efficient version
+ of duplicated and in using IndexHash
+ * include/Rcpp/sugar/functions/self_match.h: more efficient version
+ of self_match and in using IndexHash
+ * include/Rcpp/vector/Vector.h: more efficiently create Vector from
+ sugar expression that are already vectors, i.e. grab the SEXP
+
2012-12-03 Dirk Eddelbuettel <edd at debian.org>
* inst/include/RcppCommon.h: Applied patch kindly contributed by Yan
Modified: pkg/Rcpp/inst/include/Rcpp/hash/hash.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/hash/hash.h 2012-12-04 23:46:49 UTC (rev 4080)
+++ pkg/Rcpp/inst/include/Rcpp/hash/hash.h 2012-12-05 04:34:17 UTC (rev 4081)
@@ -22,6 +22,8 @@
#ifndef RCPP__HASH__HASH_H
#define RCPP__HASH__HASH_H
+#include <inttypes.h> // needed with g++-4.7 to declare intptr_t
+
#include <Rcpp/hash/IndexHash.h>
#include <Rcpp/hash/SelfHash.h>
More information about the Rcpp-commits
mailing list