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
This commit is contained in:
proski 2011-10-07 21:42:25 +00:00
parent afdc1e0da1
commit 311e88720d
1 changed files with 1 additions and 1 deletions

View 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