Enable -Werror=type-limits because

This commit is contained in:
angie 2023-12-25 15:02:15 -03:00
parent b92e43ef51
commit e39f9534e2
2 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Minor cleanups on Rust code.
- Enabled `-Werror=type-limits` in the Makefile.
### Fixed
- `getBranchVramGeneric` returns an unsigned type instead of a signed one.
## [1.8.0] - 2023-11-12

View File

@ -22,6 +22,7 @@ WARNINGS += -Wformat=2 -Wundef
WARNINGS += -Werror=vla -Werror=switch -Werror=implicit-fallthrough -Werror=unused-function
WARNINGS += -Werror=unused-parameter -Werror=shadow -Werror=switch -Werror=double-promotion
WARNINGS_C := -Werror=implicit-function-declaration -Werror=incompatible-pointer-types
WARNINGS += -Werror=type-limits
WARNINGS_CXX :=
ifeq ($(CC),gcc)