Globally enable -Wall warnings for GCC

This commit is contained in:
Erik van der Kouwe 2011-06-08 19:19:45 +00:00
parent 900a273d3d
commit c2da8cb535
9 changed files with 4 additions and 13 deletions

View file

@ -6,7 +6,7 @@ SRCS.elle= eemain.c eecmds.c eesite.c eevini.c eedisp.c eeterm.c eeerr.c \
eef2.c eefd.c eehelp.c eekmac.c eef3.c eesrch.c eequer.c \
eefill.c eediag.c sbstr.c sbm.c sberr.c
SRCS.ellec= ellec.c
CPPFLAGS+= -DIGN_JOB_CONTROL -wa
CPPFLAGS+= -DIGN_JOB_CONTROl
MAN.elle=
MAN.ellec=

View file

@ -6,8 +6,6 @@
PROG= find
SRCS= find.c function.c ls.c main.c misc.c operator.c option.c
CFLAGS += -Wall
LDADD+=-lutil
DPADD+=${LIBUTIL}

View file

@ -19,7 +19,6 @@ LDADD= -lz
DPADD= ${LIBZ}
.if ${COMPILER_TYPE} == "gnu"
CFLAGS+= -Wall
CPPFLAGS+= -isystem ../../../include
.endif

View file

@ -399,8 +399,6 @@ PRIVATE void init_drive(struct wini *w, int base_cmd, int base_ctl,
}
PRIVATE int quirkmatch(struct quirk *table, u8_t bcr, u8_t scr, u8_t interface, u16_t vid, u16_t did) {
int i = 0;
while(table->vendor) {
if(table->vendor == vid && table->device == did &&
table->pci_class == bcr &&

View file

@ -12,6 +12,6 @@ MAN=
BINDIR?= /usr/sbin
debug= 0
CPPFLAGS+= -Ddebug=${debug} -ws -w -Wall
CPPFLAGS+= -Ddebug=${debug} -w
.include <bsd.prog.mk>

View file

@ -10,4 +10,3 @@ INSTALLFLAGS+= -S 128k
MAN=
.include <bsd.prog.mk>
CFLAGS += -Wall

View file

@ -21,6 +21,6 @@ BINDIR?= /usr/sbin
CPPFLAGS+= -I${.CURDIR} -D_MINIX -D_SYSTEM
CPPFLAGS+= -I${.CURDIR}/../../lib/liblwip/include
CFLAGS += -Wall -Wextra -std=c99
CFLAGS += -Wextra -std=c99
.include <bsd.prog.mk>

View file

@ -16,9 +16,6 @@ INSTALLFLAGS+= -S 128k
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${ARCH}
CPPFLAGS+= -I${MINIXSRCDIR}
.if ${CC} == gcc
CFLAGS+= -Wall -Werror
.endif
.include "arch/${ARCH}/Makefile.inc"
.include <bsd.prog.mk>

View file

@ -1,2 +1,2 @@
AFLAGS+=-D__ASSEMBLY__ -D_EM_WSIZE=4
CFLAGS+= -fno-builtin
CFLAGS+= -fno-builtin -Wall