mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-07 00:41:13 +00:00
Do not error about array bounds, some GCC versions's reporting is broken
This commit is contained in:
parent
b9eb5c399b
commit
0d584a3145
1 changed files with 3 additions and 0 deletions
|
@ -202,6 +202,9 @@ WFLAGS+=$(OLDWFLAGS)
|
||||||
ifdef GCC43
|
ifdef GCC43
|
||||||
#WFLAGS+=-Wno-error=clobbered
|
#WFLAGS+=-Wno-error=clobbered
|
||||||
endif
|
endif
|
||||||
|
ifdef GCC44
|
||||||
|
WFLAGS+=-Wno-error=array-bounds
|
||||||
|
endif
|
||||||
ifdef GCC46
|
ifdef GCC46
|
||||||
WFLAGS+=-Wno-error=suggest-attribute=noreturn
|
WFLAGS+=-Wno-error=suggest-attribute=noreturn
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue