[Rcpp-commits] r3725 - pkg/RcppEigen/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Jul 28 20:18:59 CEST 2012


Author: dmbates
Date: 2012-07-28 20:18:59 +0200 (Sat, 28 Jul 2012)
New Revision: 3725

Modified:
   pkg/RcppEigen/src/Makevars
Log:
Because of changes in R, -DNDEBUG is automatic.  

One must override it with -UNDEBUG in the local ~/.R/Makevars to
activate the debugging code.


Modified: pkg/RcppEigen/src/Makevars
===================================================================
--- pkg/RcppEigen/src/Makevars	2012-07-28 18:15:28 UTC (rev 3724)
+++ pkg/RcppEigen/src/Makevars	2012-07-28 18:18:59 UTC (rev 3725)
@@ -1,10 +1,5 @@
 ## -*- mode: makefile; -*-
 
-PKG_CXXFLAGS=-I../inst/include -DNDEBUG
+PKG_CXXFLAGS=-I../inst/include
 
-## In practice the compiler flags should 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()"` $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
\ No newline at end of file



More information about the Rcpp-commits mailing list