Remove -Werror from WARNINGS
authorproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Fri, 7 Oct 2011 21:42:25 +0000 (21:42 +0000)
committerproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Fri, 7 Oct 2011 21:42:25 +0000 (21:42 +0000)
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

index 496cbbdb42e363a24d563c876b1343d6752266a2..c30bae36b5f599b4ef08460de088b84f2fd05f4a 100644 (file)
@@ -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