Changeset 1789

Show
Ignore:
Timestamp:
06/16/03 19:05:35 (5 years ago)
Author:
khali
Message:

Make -Wall mandatory. Add -W to optional warnings.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/Makefile

    r1787 r1789  
    184184# LIBCPPFLAGS/LIBCFLAGS are for shared library objects. 
    185185ALL_CPPFLAGS := -I. -Ikernel/include -I$(I2C_HEADERS) -I$(LINUX_HEADERS) 
    186 ALL_CFLAGS := -O2  
     186ALL_CFLAGS := -Wall -O2  
    187187 
    188188ifeq ($(DEBUG),1) 
     
    191191 
    192192ifeq ($(WARN),1) 
    193 ALL_CFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \ 
     193ALL_CFLAGS += -W -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \ 
    194194            -Wcast-align -Wwrite-strings -Wnested-externs -Winline 
    195195endif