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)
Tue, Oct 14, 4:20 PM
Unknown Object (File)
Fri, Oct 10, 5:17 AM
Unknown Object (File)
Thu, Oct 9, 6:36 AM
Unknown Object (File)
Sat, Oct 4, 12:21 PM
Unknown Object (File)
Mon, Sep 29, 7:43 AM
Unknown Object (File)
Sat, Sep 27, 4:57 AM
Unknown Object (File)
Wed, Sep 17, 11:23 AM
Unknown Object (File)
Sep 15 2025, 1:09 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