[Bug 248755] lang/gcc7: Fix build with clang 11

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 19 17:16:34 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248755

            Bug ID: 248755
           Summary: lang/gcc7: Fix build with clang 11
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gerald at FreeBSD.org
          Reporter: dim at FreeBSD.org
          Assignee: gerald at FreeBSD.org
             Flags: maintainer-feedback?(gerald at FreeBSD.org)

Created attachment 217344
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217344&action=edit
lang/gcc7: Fix build with clang 11

With clang 11, imported into base r364284, building lang/gcc7 results in:

/wrkdirs/usr/ports/lang/gcc7/work/gcc-7.5.0/gcc/config/i386/i386.c:9631:8:
error: cannot initialize a variable of type 'bool' with an rvalue of type
'nullptr_t'
  bool error_p = NULL;
       ^         ~~~~

Upstream has already fixed this at some point, by replacing 'NULL' with
'false'.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list