[Rcpp-devel] Rcpp compilation warnings
Wilhelm Tell
wilhem.tell at yahoo.com
Tue Jun 10 00:17:36 CEST 2014
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.
On Monday, June 9, 2014 5:15 PM, Wilhelm Tell <wilhem.tell at yahoo.com> wrote:
1) const
2) *sp
On Monday, June 9, 2014 5:09 PM, Wilhelm Tell <wilhem.tell at yahoo.com> 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): warning #858: type qualifier on return type is meaningless
static inline const unsigned int baseYear(){
2) Date.cpp(562): warning #437: reference to local variable of enclosing function is not allowed
2 * sizeof *sp + 4 * TZ_MAX_TIMES];
W.
(Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.1.106 Build 20131008)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20140609/c0b4fff4/attachment-0001.html>
More information about the Rcpp-devel
mailing list