Sure. Something like that, typeinfo is pretty orthogonal to features of the other includes, so no issue of header order.
While you're there, does R CMD check Rcpp work fine ? Romain Le 16 déc. 2012 à 18:04, Thell Fowler <tbfowl...@gmail.com> a écrit : > diff --git a/pkg/Rcpp/src/exceptions.cpp b/pkg/Rcpp/src/exceptions.cpp > index f46573b..7ff0f28 100644 > --- a/pkg/Rcpp/src/exceptions.cpp > +++ b/pkg/Rcpp/src/exceptions.cpp > @@ -20,6 +20,7 @@ > // along with Rcpp. If not, see <http://www.gnu.org/licenses/>. > > #include <Rcpp/platform/compiler.h> > +#include <typeinfo> > #define R_NO_REMAP > #include <Rinternals.h> > #include <Rcpp/exceptions.h> > > resolves the error. Though I'm not sure if that is where you'd want it. > > -- > Sincerely, > Thell > _______________________________________________ > Rcpp-devel mailing list > Rcpp-devel@lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel