Page MenuHomeFreeBSD

qat: Move CWARNFLAGS down so it works.
ClosedPublic

Authored by jhb on Aug 24 2022, 6:36 PM.
Tags
None
Referenced Files
F137324891: D36332.id109779.diff
Sat, Nov 22, 11:55 AM
Unknown Object (File)
Thu, Nov 20, 10:41 PM
Unknown Object (File)
Thu, Nov 20, 7:43 PM
Unknown Object (File)
Tue, Nov 18, 8:13 AM
Unknown Object (File)
Sat, Nov 15, 1:54 PM
Unknown Object (File)
Sat, Nov 8, 7:41 AM
Unknown Object (File)
Fri, Nov 7, 10:25 PM
Unknown Object (File)
Wed, Oct 29, 11:47 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