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
Unknown Object (File)
Tue, Jul 21, 6:48 AM
Unknown Object (File)
Mon, Jul 20, 2:02 AM
Unknown Object (File)
Sun, Jul 5, 3:27 AM
Unknown Object (File)
Sat, Jul 4, 8:41 AM
Unknown Object (File)
Thu, Jul 2, 7:51 PM
Unknown Object (File)
Jun 21 2026, 2:16 PM
Unknown Object (File)
Jun 17 2026, 2:20 AM
Unknown Object (File)
Jun 8 2026, 2: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.