[Rcpp-commits] r2553 - in pkg/Rcpp/inst/include/Rcpp: . module

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Nov 27 18:19:58 CET 2010


Author: edd
Date: 2010-11-27 18:19:58 +0100 (Sat, 27 Nov 2010)
New Revision: 2553

Modified:
   pkg/Rcpp/inst/include/Rcpp/Module.h
   pkg/Rcpp/inst/include/Rcpp/module/Module_generated_class_signature.h
Log:
removed variables from signature after g++ -Wall complained (when build RcppGSL)


Modified: pkg/Rcpp/inst/include/Rcpp/Module.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/Module.h	2010-11-27 16:15:08 UTC (rev 2552)
+++ pkg/Rcpp/inst/include/Rcpp/Module.h	2010-11-27 17:19:58 UTC (rev 2553)
@@ -38,7 +38,7 @@
 		virtual ~CppFunction(){} ;
 		virtual int nargs(){ return 0 ; }
 		virtual bool is_void(){ return false ; }
-		virtual const char* signature(const char* name ){ return "" ; }
+		virtual const char* signature(const char* ){ return "" ; }
 		virtual SEXP get_formals(){ return R_NilValue; }
 		
 		std::string docstring ;

Modified: pkg/Rcpp/inst/include/Rcpp/module/Module_generated_class_signature.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/module/Module_generated_class_signature.h	2010-11-27 16:15:08 UTC (rev 2552)
+++ pkg/Rcpp/inst/include/Rcpp/module/Module_generated_class_signature.h	2010-11-27 17:19:58 UTC (rev 2553)
@@ -22,7 +22,8 @@
 #ifndef Rcpp_Module_generated_class_signature_h
 #define Rcpp_Module_generated_class_signature_h
 
-inline bool yes( SEXP* args, int nargs){
+//inline bool yes( SEXP* args, int nargs){
+inline bool yes(){
     return true ;
 }
 



More information about the Rcpp-commits mailing list