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)
Fri, Nov 15, 5:32 AM
Unknown Object (File)
Oct 28 2024, 7:18 PM
Unknown Object (File)
Oct 27 2024, 4:30 AM
Unknown Object (File)
Oct 2 2024, 1:28 PM
Unknown Object (File)
Sep 30 2024, 4:33 PM
Unknown Object (File)
Sep 16 2024, 12:46 PM
Unknown Object (File)
Sep 8 2024, 7:14 AM
Unknown Object (File)
Sep 8 2024, 4:24 AM
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.