Bug 16541 – Bootstrap only works with gnu++98

Status
RESOLVED
Resolution
INVALID
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2016-09-25T21:36:00Z
Last change time
2016-09-25T22:05:14Z
Assigned to
nobody
Creator
behr22

Comments

Comment #0 by behr22 — 2016-09-25T21:36:48Z
Trying to bootstrap dmd with make -f posix.mak AUTO_BOOTSTRAP=1 fails. I'm using GCC 6.2.0 on Solus. I've tried v2.071.2 and it fails almost immediately http://pastebin.com/Cq6ft8XN When using git HEAD it still fails, but in a later stage http://pastebin.com/gkZiiet9 Only way i found with help some help from IRC was to lower the c++ standard. With -std=gnu++98 it does work
Comment #1 by behr22 — 2016-09-25T22:04:49Z
I just discovered when CXX_KIND is set to g++ it's automatically defaulting to gnu++98. This issue can closed then