www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16373] New: gcc 6.1.1 compatibility

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

          Issue ID: 16373
           Summary: gcc 6.1.1 compatibility
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: hsteoh quickfur.ath.cx

DMD does not compile with gcc 6.1.1:

backend/cg87.c:716:46: error: narrowing conversion of ‘232’ from ‘int’
to
‘char’ inside { } [-Wnarrowing]

backend/cod1.c:2508:9: error: narrowing conversion of ‘193’ from ‘int’
to
‘char’ inside { } [-Wnarrowing]

backend/cod3.c:431:13: error: narrowing conversion of ‘144’ from ‘int’
to
‘char’ inside { } [-Wnarrowing]

backend/ptrntab.c:1208:1: error: narrowing conversion of ‘-1006567058’ from
‘int’ to ‘unsigned int’ inside { } [-Wnarrowing]
[... above error repeated on many other lines in the same file ...]


These errors are making it impossible for me to use dmd git HEAD.

--
Aug 10 2016