www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16541] New: Bootstrap only works with gnu++98

https://issues.dlang.org/show_bug.cgi?id=16541

          Issue ID: 16541
           Summary: Bootstrap only works with gnu++98
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: behr22 hotmail.de

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

--
Sep 25 2016