Page MenuHomeFreeBSD

qat: Move CWARNFLAGS down so it works.
ClosedPublic

Authored by jhb on Aug 24 2022, 6:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 16, 6:39 PM
Unknown Object (File)
Sun, Jan 12, 3:12 AM
Unknown Object (File)
Dec 9 2024, 1:50 AM
Unknown Object (File)
Dec 4 2024, 7:18 PM
Unknown Object (File)
Dec 1 2024, 10:30 PM
Unknown Object (File)
Dec 1 2024, 10:30 PM
Unknown Object (File)
Dec 1 2024, 10:29 PM
Unknown Object (File)
Dec 1 2024, 9:35 PM
Subscribers

Details

Summary

CWARNFLAGS must be added to after including kern.mk, otherwise all the
warnings set in kern.mk are ignored. This is why the
-Wmissing-prototypes warnings were not seen previously.

While here, drop -Wno-pointer-sign as it is doesn't seem to be needed,
but add -Wno-cast-qual to silence warnings for various casts of const
pointers to non-const pointers.

Sponsored by: DARPA

Diff Detail

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