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