Re: [head tinderbox] failure on ia64/ia64

Pawel Jakub Dawidek <[email protected]>
Newsgroups gmane.os.freebsd.devel.ia64
Message-ID <[email protected]>
On Mon, Jan 31, 2011 at 10:56:18PM +0000, FreeBSD Tinderbox wrote:
[...]
> cc -O2 -pipe  -I/src/sbin/hastctl/../hastd -DINET -DINET6 -DYY_NO_UNPUT -DYY_NO_INPUT -DHAVE_CRYPTO -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/sbin/hastctl/../hastd/proto_common.c
> cc1: warnings being treated as errors
> /src/sbin/hastctl/../hastd/proto_common.c: In function 'proto_common_descriptor_send':
> /src/sbin/hastctl/../hastd/proto_common.c:116: warning: cast increases required alignment of target type
> /src/sbin/hastctl/../hastd/proto_common.c: In function 'proto_common_descriptor_recv':
> /src/sbin/hastctl/../hastd/proto_common.c:146: warning: cast increases required alignment of target type
> /src/sbin/hastctl/../hastd/proto_common.c:149: warning: cast increases required alignment of target type
> *** Error code 1

Marcel, do you have an idea how one can use CMSG_NXTHDR() on ia64 with
high WARNS? With WARNS=6 I get those errors and I've no idea how to fix
it properly. If there is a fix, CMSG_NXTHDR() should probably be fixed,
but maybe I'm wrong?

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
[email protected]                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
signature.asc (application/pgp-signature, 196 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAk1HSxkACgkQForvXbEpPzSx1gCeM4nT/ytd9jLt8WIcLWy2YCwD
bAMAoJmpRViWOajMCn8mna4J7EI7fi0z
=53Fo
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.