Fix checked builds with gcc4.2

Recent change sets removed the 'ignore-all-warnings' mode from a
number of files, in favour of using the implicit-function-declaration
pragma. Sadly, that pragma isn't available in gcc 4.2. Revert the
Makefile changes such that ignore all warnings is turned back on
for the affected files, and note this in README.WARNINGS

Reviewed-on: http://gerrit.openafs.org/639
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Simon Wilkinson 2009-10-10 00:30:01 +01:00 committed by Derrick Brashear
parent 41baf5c58f
commit 2588289987
4 changed files with 6 additions and 6 deletions

View File

@ -65,7 +65,7 @@ kauth/kaserver.c : all : ExtendedCellInfo
kauth/krb_udp.c : all : XXX
kauth/admin_tools.c : all : ubik_Call nonsense
kauth/authclient.c : strict-proto : ubik_Call nonsense
: implicit-func : ubik_Call nonsense
: all : ubik_Call nonsense
kauth/kas.c : all : XXX
kauth/klog.c : all : XXX
kauth/ka-forwarder.c : all : XXX
@ -77,7 +77,7 @@ libadmin/samples/rxdebug_peers.c : format : struct clock vs unsigned int
libadmin/test/client.c : all : util_RPCStatsStateGet types
ptserver/ptserver.c : all : ExtendedCellInfo
rxkad/rxkad_server.c : all : Des key nonsense
rxkad/ticket5.c : implicit-func : CRC functions
rxkad/ticket5.c : all : CRC functions
rx/rx.c : all (pthread) : rxkad_global_stats_init not proto'd
rx/xdr_rx.c : all (ukernel) : Prototypes don't match due to AFS_XDR_T
not being used in the xdr header
@ -92,7 +92,7 @@ uss/lex.yy.c : all : Unused symbols
viced/fsprobe.c : all : ubik_Call
vlserver/vlserver.c : all : GetExtendedCellInfo
vol/salvager.c : all : consts & undefined variable from header
volser/vos.c : implicit-func : ubik_Call_New
volser/vos.c : all : ubik_Call_New
volser/vol-dump.c : format : afs_sfsize_t
volser/vsprocs.c : format-extra : The ONERROR macro needs to be rethought

View File

@ -101,7 +101,7 @@ kaprocs.o: kaprocs.c ${INCLS} kaport.h
${CC} ${CFLAGS} @CFLAGS_NOERROR@ -c $<
authclient.o: authclient.c ${INCLS}
$(CC) $(CFLAGS) -c $<
$(CC) $(CFLAGS) @CFLAGS_NOERROR@ -c $<
kaauxdb.o: kaauxdb.c
$(CC) $(CFLAGS) @CFLAGS_NOERROR@ -c $<

View File

@ -77,7 +77,7 @@ ticket.o: ticket.c lifetimes.h ${INCLS}
$(CC) $(CFLAGS) -c $<
ticket5.o: ticket5.c v5gen.c v5der.c v5gen-rewrite.h ${INCLS}
$(CC) $(CFLAGS) -c $<
$(CC) $(CFLAGS) @CFLAGS_NOERROR@ -c $<
crc.o: crc.c ${INCLS}

View File

@ -143,7 +143,7 @@ vol_split.o: vol_split.c ${VINCLS} ${INTINCLS} ${RINCLS}
# Errors
#
vos.o: vos.c
$(CC) $(CFLAGS) -c $<
$(CC) $(CFLAGS) @CFLAGS_NOERROR@ -c $<
#
# Installation targets