Dear List:<div><br></div><div>I case across an error on Windows 7 64bits,  any idea how can I avoid that? </div><div>I wish I could provide a demonstrative example, but it's too complicated now. </div><div><br></div><div>
This is the error report:</div><div><br></div><div><div><br></div><div>C:\Users\root\Desktop\stan\rstan>g++ -m64 -I"C:/PROGRA~1/R/R-215~1.1/include" -DNDEBUG   -I"C:/Users/root/R/win-library/2.15/rstan/include/stansrc"  -I"C:/Users/root/R/win-library/2.15/rstan/include/stanlib/eigen_3.1.0"  -I"C:/Users/root/R/win-library/2.15/rstan/include/stanlib/eigen_3.1.0/unsupported"  -I"C:/Users/root/R/win-library/2.15/rstan/include/stanlib/boost_1.50.0"  -I"C:/Users/root/R/win-library/2.15/rstan/include"   -I"C:/Users/root/R/win-library/2.15/Rcpp/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include"     -O2  -mtune=core2 -c test.cpp -o test.o </div>
<div>In file included from C:/Users/root/R/win-library/2.15/Rcpp/include/RcppCommon.h:319:0,</div><div>                 from C:/Users/root/R/win-library/2.15/Rcpp/include/Rcpp.h:27,</div><div>                 from test.cpp:3:</div>
<div>C:/Users/root/R/win-library/2.15/Rcpp/include/Rcpp/traits/Exporter.h: In constructor 'Rcpp::traits::Exporter<T>::Exporter(SEXP) [with T = long long unsigned int, SEXP = SEXPREC*]':</div><div>C:/Users/root/R/win-library/2.15/Rcpp/include/Rcpp/as.h:51:51:   instantiated from 'T Rcpp::internal::as(SEXP, Rcpp::traits::r_type_generic_tag) [with T = long long unsigned int, SEXP = SEXPREC*]'</div>
<div>C:/Users/root/R/win-library/2.15/Rcpp/include/Rcpp/as.h:75:89:   instantiated from 'T Rcpp::as(SEXP) [with T = long long unsigned int, SEXP = SEXPREC*]'</div><div>C:/Users/root/R/win-library/2.15/Rcpp/include/Rcpp/module/Module_generated_CppMethod.h:147:126:   instantiated from 'SEXPREC* Rcpp::CppMethod1<Class, OUT, U0>::operator()(Class*, SEXPREC**) [with Class = rstan::stan_fit<dogs_namespace::dogs, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014u, 0u, 2147483563u>, boost::random::linear_congruential_engine<unsigned int, 40692u, 0u, 2147483399u> > >, OUT = SEXPREC*, U0 = long long unsigned int, SEXP = SEXPREC*]'</div>
<div>test.cpp:412:2:   instantiated from here</div><div>C:/Users/root/R/win-library/2.15/Rcpp/include/Rcpp/traits/Exporter.h:31:37: error: invalid conversion from 'SEXP' to 'long long unsigned int' [-fpermissive]</div>
</div><div><br></div><div><br></div><div>Thanks,</div><div>Jiqiang </div>