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)
Sun, Feb 1, 5:31 PM
Unknown Object (File)
Tue, Jan 27, 10:39 PM
Unknown Object (File)
Tue, Jan 27, 10:03 AM
Unknown Object (File)
Tue, Jan 20, 10:29 PM
Unknown Object (File)
Jan 12 2026, 5:38 PM
Unknown Object (File)
Jan 10 2026, 11:04 AM
Unknown Object (File)
Jan 9 2026, 3:03 PM
Unknown Object (File)
Jan 8 2026, 11:18 AM
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