Re: [head tinderbox] failure on ia64/ia64

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Tue, 1 Feb 2011 00:51:53 +0100
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
pjd_at_FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Mon Jan 31 2011 - 23:11:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:11 UTC