]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Fix checked builds with gcc4.2
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Fri, 9 Oct 2009 23:30:01 +0000 (00:30 +0100)
committerDerrick Brashear <shadow|account-1000005@unknown>
Thu, 15 Oct 2009 00:09:26 +0000 (17:09 -0700)
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>
README.WARNINGS
src/kauth/Makefile.in
src/rxkad/Makefile.in
src/volser/Makefile.in

index aa6c452e8fca027c80e0a64a5cb6d3ff74c50db4..d7fc5f9b23074ddeeb372c3b35dc1271635751e9 100644 (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
 
index fa104808da97c9f19d8b0007ce1dae8389ba9ef4..7b81fba9cc854affdad14e9c1889e49396e25d90 100644 (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 $<
index 00f1d8c71318305776e654188c4fd228b71d8fd6..c03a4c1365539321cba2e8b452aca9223b1ac575 100644 (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}
 
index f9d7167a309274c94303b4d5e43120a97aa54f62..2033ae3b998d724aecc2d84a94005560cc085d76 100644 (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