My build fails with:
tmk_core/protocol/lufa/lufa.c:481:10: error: variable 'ConfigSuccess' set but not used [-Werror=unused-but-set-variable=]
481 | bool ConfigSuccess = true;
| ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
[ERRORS]
This is easily fixed with a [[maybe_unused]].
Upstream QMK doesn't show the warning for me,
perhaps they don't have/use -Wunused-but-set-variable?
My build fails with:
This is easily fixed with a
[[maybe_unused]].Upstream QMK doesn't show the warning for me,
perhaps they don't have/use
-Wunused-but-set-variable?