-Wreturn-type is included in -Wall.
This commit is contained in:
parent
08fb0e543b
commit
8561123ccf
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.macppc,v 1.18 2001/06/08 00:32:01 matt Exp $
|
||||
# $NetBSD: Makefile.macppc,v 1.19 2001/06/10 17:05:11 tsubai Exp $
|
||||
#
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
|
@ -42,7 +42,7 @@ TEXTADDR?= 100000
|
|||
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
|
||||
INCLUDES= -I. -I$S/arch -I$S -nostdinc
|
||||
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dmacppc
|
||||
CWARNFLAGS?= -Werror -Wreturn-type -Wpointer-arith -Wall -Wmissing-prototypes
|
||||
CWARNFLAGS?= -Werror -Wall -Wpointer-arith -Wmissing-prototypes
|
||||
# XXX Delete -Wuninitialized for now, since the compiler doesn't
|
||||
# XXX always get it right. --thorpej
|
||||
CWARNFLAGS+= -Wno-uninitialized
|
||||
|
|
Loading…
Reference in New Issue