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)
Sun, Jun 21, 2:16 PM
Unknown Object (File)
Wed, Jun 17, 2:20 AM
Unknown Object (File)
Mon, Jun 8, 2:33 AM
Unknown Object (File)
Apr 30 2026, 7:46 AM
Unknown Object (File)
Apr 30 2026, 7:46 AM
Unknown Object (File)
Apr 30 2026, 7:46 AM
Unknown Object (File)
Apr 25 2026, 2:42 AM
Unknown Object (File)
Apr 15 2026, 2:53 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.