Hi all,

I had the "long long unsigned int" problem today on Win x64. I passed
--no-multiarch to R CMD build after making a package using
Rcpp.package.skeleton. The error message in part was

***
C:/R/R-2.15.1/library/Rcpp/include/Rcpp/internal/wrap.h:433:11: error:
invalid conversion from 'long long unsigned int' to 'SEXP'
[-fpermissive]
make: *** [stdVector.o] Error 1
***

I resolved the problem using

PKG_CXXFLAGS = "-std=c++0x"

in my Makevars files.

gcc 4.6.3 (from Rtools215) apparently doesn't support "c++11". Based on
the list traffic I've seen, I suspect c++0x is not supported by CRAN,
but I haven't looked into it, so YMMV.

Thanks,
Dale Smith, Ph.D.
Senior Financial Quantitative Analyst
Risk & Compliance
Fiserv.
107 Technology Park
Norcross, GA 30092
Office: 678-375-5315
Mail: dale.sm...@fiserv.com
www.fiserv.com

_______________________________________________
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

Reply via email to