From 311e88720da9ab1a4f6a01d60598eec6450ef8d0 Mon Sep 17 00:00:00 2001 From: proski Date: Fri, 7 Oct 2011 21:42:25 +0000 Subject: [PATCH] Remove -Werror from WARNINGS It's impossible to eliminate all warnings with all combinations of kernels and compilers. Users are punished for using untested combinations that should be OK. Other projects don't use -Werror and nothing bad happens. Future compilers would surely introduce new warnings. MadWifi doesn't need to break because of that. There is no way to make -Werror apply to MadWifi code but not to the kernel headers. Linux kernel doesn't use -Werror, why should MadWifi? Using -Werror creates a false sense of security. It's easy to assume that the code is warning-free at least on the developers' systems. However, broken code was committed in the past that would not compile at all. Code quality means more that absence of warnings. It cannot be ensured by -Werror. git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4172 0192ed92-7a03-0410-a25b-9323aeb14dbd --- Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc b/Makefile.inc index 496cbbd..c30bae3 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -134,7 +134,7 @@ ATH_RATE= $(TOP)/ath_rate # TOOLS= $(TOP)/tools -WARNINGS = -Werror -Wall +WARNINGS = -Wall COPTS+= $(WARNINGS) INCS= -include $(TOP)/include/compat.h -I$(TOP)/include