Martyn, This ultimately solved my problem. However, I also needed to set CXX1X as R continued to try and use the 4.6.3 version. Once both CXX1X and CXX1XSTD were set in the HOME/.R/Makevars.win file, the compilation ran successfully.
Thanks, Charles On Tue, Nov 10, 2015 at 10:57 AM, Martyn Plummer <plumm...@iarc.fr> wrote: > If you try setting this flag in the Makevars.win file of your package > then it will be overridden by the site-wide Makeconf which is included > after your package-specific Makevars.win (See section 1.2.1 of R-exts) > > What you need to do is set it in a personal file HOME/.R/Makevars.win > (See R-admin 6.3.3). On Windows, "HOME" is usually your Documents > folder. > > Martyn > > On Tue, 2015-11-10 at 10:45 -0600, Charles Determan wrote: > > 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? > > > > > > Charles > > > > On Tue, Nov 10, 2015 at 10:42 AM, Martyn Plummer <plumm...@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 > > > ----------------------------------------------------------------------- > > > > > > ----------------------------------------------------------------------- > 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 > ----------------------------------------------------------------------- >
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel