X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=cflags.mk;h=a734def6bfda36f6fdd1781f75450b82a237326b;hp=78512c4844a0680318e55c73f591f086183833d7;hb=f3cbb9f51357972f6e74244494236a41dc4d84cd;hpb=99f5c6c8a6c4e73aeb253e5c7f1d0035cabc8db0 diff --git a/cflags.mk b/cflags.mk index 78512c4..a734def 100644 --- a/cflags.mk +++ b/cflags.mk @@ -1,4 +1,4 @@ -ifneq ($(filter 4.%,$(GCCVERSION)),) +ifneq ($(filter 4.%,$(shell gcc -dumpversion)),) GCC4=1 endif @@ -44,4 +44,6 @@ CFLAGS += -Wpointer-arith # warn about multiple declarations CFLAGS += -Wredundant-decls # warn if the format string is not a string literal -CFLAGS += -Wformat-nonliteral +#CFLAGS += -Wformat-nonliteral +# missing prototypes +CFLAGS += -Wmissing-prototypes