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
p...@freebsd.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Attachment: pgphFUx7Q3q4K.pgp
Description: PGP signature

Reply via email to