From: Marc Dionne Date: Tue, 11 Sep 2012 20:39:55 +0000 (-0400) Subject: tptserver: Disable strict-aliasing warnings X-Git-Tag: upstream/1.6.2_pre2^2~123 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=4e4801972798645ffd042b195cb4d489054b4990;p=packages%2Fo%2Fopenafs.git tptserver: Disable strict-aliasing warnings Disable the strict-aliasing warnings for a few files that have supergroups related code. This was already done in ptserver but not in tptserver. Change-Id: I8b3c8b5f5b19fd47fed949e7b2568678a5ffffd4 Reviewed-on: http://gerrit.openafs.org/8096 Tested-by: Simon Wilkinson Reviewed-by: Derrick Brashear --- diff --git a/src/tptserver/Makefile.in b/src/tptserver/Makefile.in index 379dc61d3..a2f38c526 100644 --- a/src/tptserver/Makefile.in +++ b/src/tptserver/Makefile.in @@ -105,11 +105,13 @@ pthread_glock.o: ${UTIL}/pthread_glock.c ptserver.o: ${PTSERVER}/ptserver.c ${INCLS} ${CCRULE} ${srcdir}/${PTSERVER}/ptserver.c +# When supergroups is enabled, some parts of ptserver cast between +# # incompatible structs. ptutils.o: ${PTSERVER}/ptutils.c ${INCLS} - ${CCRULE} ${srcdir}/${PTSERVER}/ptutils.c + ${CCRULE} @CFLAGS_NOSTRICT@ ${srcdir}/${PTSERVER}/ptutils.c ptprocs.o: ${PTSERVER}/ptprocs.c ${INCLS} - ${CCRULE} ${srcdir}/${PTSERVER}/ptprocs.c + ${CCRULE} @CFLAGS_NOSTRICT@ ${srcdir}/${PTSERVER}/ptprocs.c utils.o: ${PTSERVER}/utils.c ${INCLS} ${CCRULE} ${srcdir}/${PTSERVER}/utils.c