From plummerm at iarc.fr  Wed Apr 19 13:18:46 2017
From: plummerm at iarc.fr (Martyn Plummer)
Date: Wed, 19 Apr 2017 11:18:46 +0000
Subject: [Rd] R 3.4 has broken C++11 support
In-Reply-To: <642977090.16502618.1492598553592.JavaMail.zimbra@helmholtz-muenchen.de>
References: <1893707771.15504454.1492521112411.JavaMail.zimbra@helmholtz-muenchen.de>
 <1492531681.12031.7.camel@iarc.fr>
 <642977090.16502618.1492598553592.JavaMail.zimbra@helmholtz-muenchen.de>
Message-ID: <1492600726.12031.11.camel@iarc.fr>

On Wed, 2017-04-19 at 12:42 +0200, Angerer, Philipp wrote:
> Hi!
> 
> Well, my linux distribution has very recent versions
> of everything, so a working C++11 compiler exists:
> 
> $ gcc --version | head -n1
> gcc (GCC) 6.3.1 20170306

I am on Fedora 25 which also uses gcc 6.3.1. The default standard for
6.3.1 is C++14. The output from configure should contain these lines:

? Default C++ compiler:??????g++???
? C++98 compiler:????????????g++ -std=gnu++98?
? C++11 compiler:????????????g++ -std=gnu++11?
? C++14 compiler:????????????g++??
? C++17 compiler:??????????????

Please check.

Martyn

> Could wrong ./configure options be at fault here? See:
> 
> https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=r-devel#n40
> 
> My sessionInfo():
> 
> $ R-devel --slave -e 'sessionInfo()' | head -n3
> R Under development (unstable) (2017-04-18 r72542)
> Platform: x86_64-pc-linux-gnu (64-bit)
> Running under: Arch Linux
> 
> Thanks, Philipp
> ?
> 
> Helmholtz Zentrum Muenchen
> Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
> Ingolstaedter Landstr. 1
> 85764 Neuherberg
> www.helmholtz-muenchen.de
> Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe
> Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr.
> Alfons Enhsen
> Registergericht: Amtsgericht Muenchen HRB 6466
> USt-IdNr: DE 129521671
> 


[Rd] R 3.4 has broken C++11 support
Martyn Plummer