[Rcpp-commits] r3196 - pkg/RcppEigen/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Sep 13 18:22:00 CEST 2011
Author: dmbates
Date: 2011-09-13 18:22:00 +0200 (Tue, 13 Sep 2011)
New Revision: 3196
Modified:
pkg/RcppEigen/src/Makevars
Log:
Force the -DNDEBUG flag to satisfy R CMD check in R-2.14.0 and higher
Modified: pkg/RcppEigen/src/Makevars
===================================================================
--- pkg/RcppEigen/src/Makevars 2011-09-13 16:18:31 UTC (rev 3195)
+++ pkg/RcppEigen/src/Makevars 2011-09-13 16:22:00 UTC (rev 3196)
@@ -1,5 +1,11 @@
## -*- mode: makefile; -*-
PKG_CXXFLAGS=-I../inst/include -DNDEBUG
+
+## In practice the compiler flags show be
+#PKG_CXXFLAGS=-I../inst/include
+## to enable error checking. However, checking for errors is flagged
+## in R CMD check as an undesirable practice.
+
PKG_LIBS=`$(R_HOME)/bin/Rscript -e "Rcpp:::LdFlags()"`
More information about the Rcpp-commits
mailing list