Page MenuHomeFreeBSD

Disable -Wdangling-pointer for the kernel for GCC 12.
ClosedPublic

Authored by jhb on Dec 7 2022, 8:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 6 2024, 10:12 AM
Unknown Object (File)
May 6 2024, 10:12 AM
Unknown Object (File)
May 6 2024, 10:12 AM
Unknown Object (File)
May 2 2024, 7:00 PM
Unknown Object (File)
Feb 23 2024, 12:34 AM
Unknown Object (File)
Feb 23 2024, 12:34 AM
Unknown Object (File)
Feb 23 2024, 12:34 AM
Unknown Object (File)
Feb 23 2024, 12:21 AM
Subscribers
None

Details

Summary

Some of the warnings raised in the kernel seem to be outright bugs
(e.g. the cases in ata_xpt.c and scsi_xpt.c). Other cases are not
fatal and it didn't seem to find any legitimate bugs in the kernel.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable