I haven't encountered this before. When the -Wall flag is set for a compilation of a package that includes Rcpp.h you get a warning
/home/bates/R/x86_64-unknown-linux-gnu-library/2.11/Rcpp/lib/Rcpp/Vector.h: In member function ‘Rcpp::Vector<RTYPE>& Rcpp::Vector<RTYPE>::operator=(const Rcpp::Vector<RTYPE>&) [with int RTYPE = 14]’: RcppLapack.cpp:16: instantiated from here /home/bates/R/x86_64-unknown-linux-gnu-library/2.11/Rcpp/lib/Rcpp/Vector.h:491: warning: no return statement in function returning non-void I believe that there is a missing return *this; at the end of the function but I don't really know enough about C++ to be confident of that. _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
