Closed peterharperuk closed 5 months ago
@dpgeorge Any chance of getting this merged?
Sorry to nag, but I can't update the cyw43-firmware in the pico-sdk with build warnings, so need these fixed.
The CI for this repo does build the code with -Wpedantic
enabled, but that didn't pick up the warnings. Is there any way to make the CI hit at least the unused variable warning?
-Wextra seems to be the one that's causing this. Oddly pedantic fails for me. We use the following...
-Werror -Wall -Wextra -Wnull-dereference -Wuninitialized -Wunused -Wcast-align -Wall -Wcast-qual -Wfloat-equal -Wmissing-format-attribute -Wsign-compare -Wstrict-prototypes -Wno-inline -Wredundant-decls -Wno-shadow -Wno-missing-field-initializers -Wno-missing-braces -Wno-multichar
Thanks for updating, now merged.
-Wextra seems to be the one that's causing this
Thanks for that. I've now enabled this in the CI tests on this repo, see #117.
Fixes #115