Closed RobinHankin closed 4 years ago
Winbuilder gives a bunch of warnings, mostly about comparing signed with unsigned integers:
* installing *source* package 'spray' ... ** using staged installation ** libs *** arch - i386 d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -I"d:/RCompile/CRANguest/R-release/lib/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c RcppExports.cpp -o RcppExports.o d:/Compiler/gcc-4.9.3/mingw_32/bin/gcc -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -I"d:/RCompile/CRANguest/R-release/lib/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O3 -Wall -std=gnu99 -mtune=core2 -c spray_init.c -o spray_init.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -I"d:/RCompile/CRANguest/R-release/lib/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c spray_ops.cpp -o spray_ops.o spray_ops.cpp: In function 'spray prepare(Rcpp::IntegerMatrix, Rcpp::NumericVector)': spray_ops.cpp:50:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<M.nrow() ; i++){ ^ spray_ops.cpp:53:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<M.ncol(); j++){ ^ spray_ops.cpp: In function 'Rcpp::NumericVector spray_accessor(const IntegerMatrix&, const NumericVector&, const IntegerMatrix&)': spray_ops.cpp:237:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<Mindex.nrow() ; i++){ ^ spray_ops.cpp:239:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<Mindex.ncol(); j++){ ^ spray_ops.cpp: In function 'Rcpp::List spray_setter(const IntegerMatrix&, const NumericVector&, const IntegerMatrix&, const NumericVector&)': spray_ops.cpp:261:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<M2.nrow() ; i++){ ^ spray_ops.cpp:263:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<M2.ncol(); j++){ ^ spray_ops.cpp: In function 'Rcpp::List spray_asum_include(const IntegerMatrix&, const NumericVector&, const IntegerVector&)': spray_ops.cpp:317:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<M.nrow() ; i++){ ^ spray_ops.cpp:319:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<M.ncol(); j++){ ^ spray_ops.cpp:322:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(k=0 ; k<n.size() ; k++){ ^ spray_ops.cpp: In function 'Rcpp::List spray_asum_exclude(const IntegerMatrix&, const NumericVector&, const IntegerVector&)': spray_ops.cpp:341:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<M.nrow() ; i++){ ^ spray_ops.cpp:343:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<n.size(); j++){ ^ spray_ops.cpp: In function 'Rcpp::List spray_deriv(const IntegerMatrix&, const NumericVector&, const IntegerVector&)': spray_ops.cpp:367:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0 ; i<M.nrow() ; i++){ ^ spray_ops.cpp:369:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0 ; j<M.ncol() ; j++){ ^ spray_ops.cpp:374:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<Mout.nrow() ; i++){ ^ spray_ops.cpp:375:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<Mout.ncol() ; j++){ ^ spray_ops.cpp:384:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<Mout.ncol() ; j++){ ^ d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -shared -s -static-libgcc -o spray.dll tmp.def RcppExports.o spray_init.o spray_ops.o -Ld:/Compiler/gcc-4.9.3/local330/lib/i386 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/RCompile/recent/R-3.6.3/bin/i386 -lR installing to d:/RCompile/CRANguest/R-release/lib/00LOCK-spray/00new/spray/libs/i386 *** arch - x64 d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -I"d:/RCompile/CRANguest/R-release/lib/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c RcppExports.cpp -o RcppExports.o d:/Compiler/gcc-4.9.3/mingw_64/bin/gcc -m64 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -I"d:/RCompile/CRANguest/R-release/lib/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -std=gnu99 -mtune=core2 -c spray_init.c -o spray_init.o d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -I"d:/RCompile/CRANguest/R-release/lib/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c spray_ops.cpp -o spray_ops.o spray_ops.cpp: In function 'spray prepare(Rcpp::IntegerMatrix, Rcpp::NumericVector)': spray_ops.cpp:50:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<M.nrow() ; i++){ ^ spray_ops.cpp:53:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<M.ncol(); j++){ ^ spray_ops.cpp: In function 'Rcpp::NumericVector spray_accessor(const IntegerMatrix&, const NumericVector&, const IntegerMatrix&)': spray_ops.cpp:237:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<Mindex.nrow() ; i++){ ^ spray_ops.cpp:239:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<Mindex.ncol(); j++){ ^ spray_ops.cpp: In function 'Rcpp::List spray_setter(const IntegerMatrix&, const NumericVector&, const IntegerMatrix&, const NumericVector&)': spray_ops.cpp:261:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<M2.nrow() ; i++){ ^ spray_ops.cpp:263:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<M2.ncol(); j++){ ^ spray_ops.cpp: In function 'Rcpp::List spray_asum_include(const IntegerMatrix&, const NumericVector&, const IntegerVector&)': spray_ops.cpp:317:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<M.nrow() ; i++){ ^ spray_ops.cpp:319:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<M.ncol(); j++){ ^ spray_ops.cpp: In function 'Rcpp::List spray_asum_exclude(const IntegerMatrix&, const NumericVector&, const IntegerVector&)': spray_ops.cpp:341:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<M.nrow() ; i++){ ^ spray_ops.cpp: In function 'Rcpp::List spray_deriv(const IntegerMatrix&, const NumericVector&, const IntegerVector&)': spray_ops.cpp:367:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0 ; i<M.nrow() ; i++){ ^ spray_ops.cpp:369:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0 ; j<M.ncol() ; j++){ ^ spray_ops.cpp:374:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<Mout.nrow() ; i++){ ^ spray_ops.cpp:375:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<Mout.ncol() ; j++){ ^ spray_ops.cpp:384:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<Mout.ncol() ; j++){ ^ d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -shared -s -static-libgcc -o spray.dll tmp.def RcppExports.o spray_init.o spray_ops.o -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/RCompile/recent/R-3.6.3/bin/x64 -lR installing to d:/RCompile/CRANguest/R-release/lib/00LOCK-spray/00new/spray/libs/x64 ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location *** arch - i386 *** arch - x64 ** testing if installed package can be loaded from final location *** arch - i386 *** arch - x64 ** testing if installed package keeps a record of temporary installation path * MD5 sums packaged installation of 'spray' as spray_1.0-9.zip * DONE (spray)
Winbuilder gives a bunch of warnings, mostly about comparing signed with unsigned integers: