: signed vs unsigned for dates
butc/tcmain.c : all : prototypes
butc/tcudbprocs.c : all : ubik_Call
-comerr/error_table.c : all : Autogenerated file with unused labels
kauth/admin_tools.c : all : ubik_Call nonsense
kauth/authclient.c : strict-proto : ubik_Call nonsense
libadmin/bos/afs_bosAdmin.c: all : DES keys, time types, and const
ubik/ubikclient.c : strict-protos : ubik_Call
uss/uss_vol.c : all Format issues
uss/uss_kauth.c : all : Des keys, ubik_Call
-uss/lex.yy.c : all : Unused symbols
viced/fsprobe.c : all : ubik_Call
vol/salvager.c : all : consts & undefined variable from header - maybe fixed!
volser/vol-dump.c : format : afs_sfsize_t
fi
fi
+if test "x$GCC" = "xyes"; then
+ CFLAGS_NOUNUSED="-Wno-unused"
+else
+ CFLAGS_NOUNUSED=
+fi
+
dnl horribly cheating, assuming double / is ok.
case $INSTALL in
./* )
AC_SUBST(VFSCK_CFLAGS)
AC_SUBST(XCFLAGS)
AC_SUBST(CFLAGS_NOERROR)
+AC_SUBST(CFLAGS_NOUNUSED)
AC_SUBST(XCFLAGS64)
AC_SUBST(XLDFLAGS)
AC_SUBST(XLDFLAGS64)
# so we need to add the source directory to the includes to pick up local headers.
#
error_table.o: error_table.c
- $(CC) $(CFLAGS) -I${srcdir} @CFLAGS_NOERROR@ -c $<
+ $(CC) $(CFLAGS) -I${srcdir} @CFLAGS_NOUNUSED@ -c $<
#
# Installation targets
${CC} -c ${CFLAGS} ${srcdir}/uss_fs.c
lex.yy.o : lex.yy.c y.tab.c
- ${CC} -c ${CFLAGS} @CFLAGS_NOERROR@ lex.yy.c
+ ${CC} -c ${CFLAGS} @CFLAGS_NOUNUSED@ lex.yy.c
lex.yy.c : lex.l
${LEX} ${srcdir}/lex.l