Page MenuHomeFreeBSD

qat: Move CWARNFLAGS down so it works.
ClosedPublic

Authored by jhb on Aug 24 2022, 6:36 PM.
Tags
None
Referenced Files
F150400177: D36332.diff
Tue, Mar 31, 9:48 PM
Unknown Object (File)
Sun, Mar 29, 4:28 PM
Unknown Object (File)
Sun, Mar 29, 11:15 AM
Unknown Object (File)
Wed, Mar 25, 11:39 PM
Unknown Object (File)
Sun, Mar 15, 1:49 AM
Unknown Object (File)
Feb 28 2026, 10:13 PM
Unknown Object (File)
Feb 28 2026, 10:10 AM
Unknown Object (File)
Feb 1 2026, 5:31 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