[Rcpp-devel] Windows set C++11 flag for new compiler

Charles Determan cdetermanjr at gmail.com
Tue Nov 10 17:45:03 CET 2015

The std=c++0x is not sufficient for my purposes as it doesn't support
template aliases.  I have tried to set CXX1XSTD=-std=c++11 in the
Makevars.win but it doesn't appear to register.  The build proceeds as if I
never set the variable.  Are the any packages that accomplish this?


On Tue, Nov 10, 2015 at 10:42 AM, Martyn Plummer <plummerm at iarc.fr> wrote:

> On Tue, 2015-11-10 at 10:30 -0600, Dirk Eddelbuettel wrote:
> > On 10 November 2015 at 10:18, Charles Determan wrote:
> > | Okay, is there a way for me to use the newer compiler for building the
> package
> > | on Windows?  I've tried everything I can think of and fail to get the
> new one
> > | to register when building a package.
> >
> > Set CXX1X in Makevars or in R's $RHOME/etc/Makeconf
> It is the flag CXX1XSTD that should be overridden. With the Windows CRAN
> binary it is set to:
> CXX1XSTD = -std=c++0x
> For more details on custom compilation see section 6.3.3 of the R
> Installation and Administration manual (a.k.a R-admin)
> Martyn
> > Dirk
> >
> -----------------------------------------------------------------------
> This message and its attachments are strictly confidential. If you are
> not the intended recipient of this message, please immediately notify
> the sender and delete it. Since its integrity cannot be guaranteed,
> its content cannot involve the sender's responsibility. Any misuse,
> any disclosure or publication of its content, either whole or partial,
> is prohibited, exception made of formally approved use
> -----------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20151110/d3f8d039/attachment.html>

More information about the Rcpp-devel mailing list