mirror of
https://github.com/Decompollaborate/rabbitizer.git
synced 2025-02-18 21:41:17 +00:00
Enable -Werror=type-limits
because
This commit is contained in:
parent
b92e43ef51
commit
e39f9534e2
@ -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
|
||||
|
||||
|
1
Makefile
1
Makefile
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user