From edd at debian.org  Wed Apr 19 18:08:20 2017
From: edd at debian.org (Dirk Eddelbuettel)
Date: Wed, 19 Apr 2017 11:08:20 -0500
Subject: [Rd] R 3.4 has broken C++11 support
In-Reply-To: <1492616108.12031.22.camel@iarc.fr>
References: <1893707771.15504454.1492521112411.JavaMail.zimbra@helmholtz-muenchen.de>
 <1492531681.12031.7.camel@iarc.fr>
 <642977090.16502618.1492598553592.JavaMail.zimbra@helmholtz-muenchen.de>
 <22775.18530.735196.500981@max.eddelbuettel.com>
 <1850432340.16760624.1492612330199.JavaMail.zimbra@helmholtz-muenchen.de>
 <1492616108.12031.22.camel@iarc.fr>
Message-ID: <22775.35700.656489.719005@max.eddelbuettel.com>


FWIW works for me too, with or without my ~/.R/Makevars

edd at max:~/git$ git clone https://github.com/flying-sheep/cxx11test
Cloning into 'cxx11test'...
remote: Counting objects: 13, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 13 (delta 0), reused 13 (delta 0), pack-reused 0
Unpacking objects: 100% (13/13), done.
Checking connectivity... done.
edd at max:~/git$ cd cxx11test/
edd at max:~/git/cxx11test(master)$ RD CMD INSTALL .
* installing to library ?/usr/local/lib/R/site-library?
* installing *source* package ?cxx11test? ...
** libs
ccache g++ -std=gnu++11 -I/usr/local/lib/R-devel/lib/R/include -DNDEBUG
-I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include   -fpic
-ggdb -pipe -Wall -pedantic -c RcppExports.cpp -o RcppExports.o
ccache g++ -std=gnu++11 -I/usr/local/lib/R-devel/lib/R/include -DNDEBUG
-I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include   -fpic
-ggdb -pipe -Wall -pedantic -c test.cpp -o test.o
ccache g++ -std=gnu++11 -shared -L/usr/local/lib/R-devel/lib/R/lib
-L/usr/local/lib -o cxx11test.so RcppExports.o test.o
-L/usr/local/lib/R-devel/lib/R/lib -lR
installing to /usr/local/lib/R/site-library/cxx11test/libs
** R
** preparing package for lazy loading
** help
No man pages found in package  ?cxx11test?
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (cxx11test)
edd at max:~/git/cxx11test(master)$

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



[Rd] R 3.4 has broken C++11 support
Dirk Eddelbuettel