Page MenuHomeFreeBSD

Fix build of amd64-gcc6 and i386-gcc6 with LLVM 11.
ClosedPublic

Authored by jhb on Aug 28 2020, 6:09 PM.
Tags
None
Referenced Files
F171173323: D26222.id76421.diff
Wed, Sep 9, 5:56 AM
Unknown Object (File)
Sun, Sep 6, 3:44 AM
Unknown Object (File)
Sun, Sep 6, 3:01 AM
Unknown Object (File)
Sun, Sep 6, 1:40 AM
Unknown Object (File)
Sun, Sep 6, 1:14 AM
Unknown Object (File)
Sun, Sep 6, 12:19 AM
Unknown Object (File)
Fri, Sep 4, 2:05 AM
Unknown Object (File)
Fri, Sep 4, 1:33 AM
Subscribers

Details

Summary

clang errors when assigning NULL (nullptr) to a bool.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 33216
Build 30559: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Aug 28 2020, 6:09 PM

@zeising, would you be able to test this in your existing LLVM 11 poudriere? I've tested it on a stable/12 poudriere so I know it still builds with clang 10, and this was the error I found in the fallout logs.

both freebsd-gcc6@amd64 and @i386 builds fine on amd64, @i386 also builds fine on i386. I didn't try @amd64 on i386, but I see no reason it shouldn't work.

This revision is now accepted and ready to land.Aug 28 2020, 8:57 PM
This revision was automatically updated to reflect the committed changes.