Skip to content

An update on the windows toolchain developments

On Mon, Aug 31, 2015 at 9:22 AM, Avraham Adler <avraham.adler at gmail.com> wrote:
Is this error [1] dependent on using RToolsTest (for which I get
package ?RToolTest? is not available (for R version 3.2.2 Patched) )?

In my test compilation of R and Rcpp using the 4.9.2 toolchain, given:

#include <Rcpp.h>
using namespace Rcpp;

// [[Rcpp::export]]
SEXP ctor_mdy() {
  Date dt = Date(12,31,2005);
  return wrap(dt);
}

// [[Rcpp::export]]
SEXP ctor_ymd() {
  Date dt = Date(2005,12,31);
  return wrap(dt);
}

I get
[1] "2005-12-31"
[1] "2005-12-31"

If it matters, EOPTS in MkRules.local were -march=ivybridge
-mtune=ivybridge --param l1-cache-line-size=64 --param
l1-cache-size=32 --param l2-cache-size=256 -pipe

.R/Makevars CXXFLAGS= -std=gnu++11 -O2 -march=ivybridge
-mtune=ivybridge --param l1-cache-line-size=64 --param
l1-cache-size=32 --param l2-cache-size=256 -pipe


Thank you,

Avi


[1] https://github.com/RcppCore/Rcpp/issues/359