Merge pull request #9941 from jepler/stringop-overflow

This warning can be enabled now
This commit is contained in:
Dan Halbert 2025-01-08 16:02:30 -05:00 committed by GitHub
commit 61992cc442
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -219,8 +219,7 @@ else
endif
endif
# Remove -Wno-stringop-overflow after we can test with CI's GCC 10. Mac's looks weird.
DISABLE_WARNINGS = -Wno-stringop-overflow -Wno-cast-align
DISABLE_WARNINGS = -Wno-cast-align
CFLAGS += $(INC) -Wall -Werror -std=gnu11 -fshort-enums $(BASE_CFLAGS) $(CFLAGS_MOD) $(COPT) $(DISABLE_WARNINGS) -Werror=missing-prototypes