spec/build/cpukit/optwarn.yml: Update warning CFLAGS

Warnings enabled by -Wextra have now been addressed except for
-Wcast-function-type and -Wsign-compare.
This commit is contained in:
Joel Sherrill
2026-01-29 19:08:04 -06:00
committed by Kinsey Moore
parent 33950b4418
commit 9deb5b8323

View File

@@ -15,11 +15,6 @@ default:
- -Wextra
# We currently have not addressed all of the cases for -Wextra warnings.
# We are using -Wno- for the ones remaining.
# (4 cases) -Wclobbered is issue #5364
# (23 cases) -Wcast-function-type usually requires changing a function
# signature or adding a wrapper function
# (699 cases) -Wsign-compare is case by case
- -Wno-clobbered
- -Wno-cast-function-type
- -Wno-sign-compare
- -Werror