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)
Feb 28 2024, 9:01 PM
Unknown Object (File)
Feb 20 2024, 6:27 PM
Unknown Object (File)
Jan 13 2024, 11:27 AM
Unknown Object (File)
Dec 22 2023, 11:52 PM
Unknown Object (File)
Nov 17 2023, 2:27 PM
Unknown Object (File)
Aug 14 2023, 10:27 AM
Unknown Object (File)
Aug 4 2023, 1:51 PM
Unknown Object (File)
Aug 4 2023, 1:44 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