Re: [Rcpp-devel] Rcpp compilation warnings

2014-06-09 Thread Wilhelm Tell
I changed the declaration of baseYear to  // static inline const unsigned int baseYear()  static inline unsigned int baseYear()  The other warning is from extra sources of R core (src/extra/tzone/localtime.c). On the other side, the Intel compilers are free on Linux for non-commercial use.

Re: [Rcpp-devel] Rcpp compilation warnings

2014-06-09 Thread Dirk Eddelbuettel
On 9 June 2014 at 08:09, Wilhelm Tell wrote: | | I am using Intel compilers for compiling R and the packages. I have these | warnings when compiling Rccp (0.11.2): | | 1) In file included from ../inst/include/Rcpp.h(57), | from Date.cpp(31): | ../inst/include/Rcpp/Date.h(83): w

Re: [Rcpp-devel] Rcpp compilation warnings

2014-06-09 Thread Wilhelm Tell
1) const 2) *sp On Monday, June 9, 2014 5:09 PM, Wilhelm Tell wrote: I am using Intel compilers for compiling R and the packages. I have these warnings when compiling Rccp (0.11.2):  1) In file included from ../inst/include/Rcpp.h(57), from Date.cpp(31): ../inst/include

[Rcpp-devel] Rcpp compilation warnings

2014-06-09 Thread Wilhelm Tell
I am using Intel compilers for compiling R and the packages. I have these warnings when compiling Rccp (0.11.2):  1) In file included from ../inst/include/Rcpp.h(57), from Date.cpp(31): ../inst/include/Rcpp/Date.h(83): warning #858: type qualifier on return type is meaningless