mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-30 21:20:54 +00:00
build: disable tautological-compare and logical-op
This commit is contained in:
parent
b01d5da60f
commit
42ecca817d
1 changed files with 5 additions and 2 deletions
|
@ -193,8 +193,11 @@ endif
|
||||||
ifdef GCC46
|
ifdef GCC46
|
||||||
WFLAGS+=-Wno-error=suggest-attribute=noreturn
|
WFLAGS+=-Wno-error=suggest-attribute=noreturn
|
||||||
endif
|
endif
|
||||||
ifdef GCC62
|
ifdef GCC54
|
||||||
WFALGS+=-Wno-tautological-compare
|
WFALGS+=-Wno-error=logical-op
|
||||||
|
endif
|
||||||
|
ifdef GCC61
|
||||||
|
WFALGS+=-Wno-error=tautological-compare
|
||||||
endif
|
endif
|
||||||
WFLAGS+=$(OLDWFLAGS)
|
WFLAGS+=$(OLDWFLAGS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue