HomeFreeBSD

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

Description

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

Some of the warnings raised in the kernel seem to be outright bugs in
the compiler (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.

Differential Revision: https://reviews.freebsd.org/D37629

Details

Provenance
jhbAuthored on Dec 21 2022, 6:46 PM
Differential Revision
D37629: Disable -Wdangling-pointer for the kernel for GCC 12.
Parents
rG488c498b099e: Disable errors for -Wnonnull for the kernel for GCC 12.
Branches
Unknown
Tags
Unknown