mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 22:28:56 +00:00
(svn r1828) New warning flag especially for truelight (:<
This commit is contained in:
parent
2fb453a4a5
commit
d48261aa23
2
Makefile
2
Makefile
@ -273,7 +273,7 @@ CC_VERSION = $(shell $(CC) -dumpversion | cut -c 1,3)
|
|||||||
# this is a workaround to test for >=
|
# this is a workaround to test for >=
|
||||||
ifeq ($(shell if test $(CC_VERSION) -ge 29; then echo true; fi), true)
|
ifeq ($(shell if test $(CC_VERSION) -ge 29; then echo true; fi), true)
|
||||||
CFLAGS += -O -Wall -Wno-multichar -Wsign-compare -Wstrict-prototypes
|
CFLAGS += -O -Wall -Wno-multichar -Wsign-compare -Wstrict-prototypes
|
||||||
CFLAGS += -Wwrite-strings
|
CFLAGS += -Wwrite-strings -Wpointer-arith
|
||||||
endif
|
endif
|
||||||
ifeq ($(shell if test $(CC_VERSION) -ge 30; then echo true; fi), true)
|
ifeq ($(shell if test $(CC_VERSION) -ge 30; then echo true; fi), true)
|
||||||
CFLAGS += -W -Wno-unused-parameter
|
CFLAGS += -W -Wno-unused-parameter
|
||||||
|
Loading…
Reference in New Issue
Block a user