From f763450ca79d19d4956b46851222dac22e1b87d1 Mon Sep 17 00:00:00 2001 From: Andre Date: Thu, 20 Apr 2006 00:33:19 +0200 Subject: [PATCH] Makefile.in: activate even more gcc warnings Add -Wmissing-format-attribute -Wunused-macros (these are unknown to the now unsupported gcc-2.95). --- Makefile.in | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Makefile.in b/Makefile.in index efef94b0..35dc669e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -25,17 +25,12 @@ codename = oriented abstraction DEBUG_CPPFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W -# produces lots of warnings on older debian systems with gcc-2.95.4 -# DEBUG_CPPFLAGS += -Wredundant-decls +DEBUG_CPPFLAGS += -Wredundant-decls # produces false positives # DEBUG_CPPFLAGS += -Wunreachable-code -# invalid options for gcc-2.95.4 -# CPPFLAGS += -Wfloat-equal -# CPPFLAGS += -Wmissing-format-attribute -# CPPFLAGS += -Wunused-macros -# CPPFLAGS += -Wwrite-strings +#CPPFLAGS += -Wwrite-strings # invalid option for gcc-3.3.5 # CPPFLAGS += -Wextra @@ -55,6 +50,8 @@ CPPFLAGS += -DVERSION='"$(version)"' CPPFLAGS += -DCODENAME='"$(codename)"' CPPFLAGS += -DCC_VERSION='"$(cc_version)"' CPPFLAGS += -Werror-implicit-function-declaration +CPPFLAGS += -Wmissing-format-attribute +CPPFLAGS += -Wunused-macros BINARIES = para_server para_client para_gui para_audiod para_audioc para_recv para_filter para_write $(extra_binaries) -- 2.39.2