[Rcpp-commits] r1142 - pkg/Rcpp/inst/include
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun May 2 23:24:24 CEST 2010
Author: edd
Date: 2010-05-02 23:24:24 +0200 (Sun, 02 May 2010)
New Revision: 1142
Modified:
pkg/Rcpp/inst/include/RcppCommon.h
Log:
g++-4.4 wants typeinfo included when DEBUG is defined
Modified: pkg/Rcpp/inst/include/RcppCommon.h
===================================================================
--- pkg/Rcpp/inst/include/RcppCommon.h 2010-05-02 17:50:20 UTC (rev 1141)
+++ pkg/Rcpp/inst/include/RcppCommon.h 2010-05-02 21:24:24 UTC (rev 1142)
@@ -189,6 +189,10 @@
#define GET_STACKTRACE() stack_trace( __FILE__, __LINE__ )
#define Rcpp_error(MESSAGE) throw new Rcpp::exception( MESSAGE, __FILE__, __LINE__ )
+#if RCPP_DEBUG_LEVEL > 0
+ #include <typeinfo>
+#endif
+
// DO NOT CHANGE THE ORDER OF THESE INCLUDES
#include <Rcpp/traits/integral_constant.h>
#include <Rcpp/traits/same_type.h>
More information about the Rcpp-commits
mailing list