diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-05-15 12:57:36 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-05-15 12:57:36 +0000 |
commit | 0b54a2d72374ec3ad73f7b2c8b666f8ec2411f54 (patch) | |
tree | 5cd3f4d17e8415517e764b01ff87446184d74953 /Makefile | |
parent | 8913d853e45735442c3b59a7b608525f980eed68 (diff) |
Don't use -Wcast-qual and use explicit casts to shut gcc up in the few cases we can't avoid using a char *.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.136 2009-05-14 19:32:37 nicm Exp $ +# $Id: Makefile,v 1.137 2009-05-15 12:57:36 nicm Exp $ .SUFFIXES: .c .o .PHONY: clean @@ -26,7 +26,7 @@ LDFLAGS+= -Wl,-E CFLAGS+= -g -ggdb -DDEBUG CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2 CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -CFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare +CFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare CFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align .endif |