Do not error about array bounds, some GCC versions's reporting is broken

This commit is contained in:
Alam Arias 2019-03-02 18:39:53 -05:00
parent b9eb5c399b
commit 0d584a3145
1 changed files with 3 additions and 0 deletions

View File

@ -202,6 +202,9 @@ WFLAGS+=$(OLDWFLAGS)
ifdef GCC43
#WFLAGS+=-Wno-error=clobbered
endif
ifdef GCC44
WFLAGS+=-Wno-error=array-bounds
endif
ifdef GCC46
WFLAGS+=-Wno-error=suggest-attribute=noreturn
endif