Subject: Re: make release breaks on typed punned pointer in
To: None <current-users@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: current-users
Date: 08/03/2003 18:16:27
--=.+F,4U,nsqL2)k6
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

wulf@ping.net.au wrote:

> make release of NetBSD-current as of 4-8-2003 breaks with the
> following error message:
> 
> -I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT  
> -c /usr/ src/sys/dev/pci/twe.c
> /usr/src/sys/dev/pci/twe.c: In function `tweioctl':
> /usr/src/sys/dev/pci/twe.c:1265: warning: dereferencing type-punned
> pointer wi l break strict-aliasing rules

Does NetBSD use gcc 3.3 as compiler now?

(gcc 3.3 wants an union at that place although I'm not sure whether
this warning is correct. At least, I've never understood the problem behind.)

-- 
Christian

--=.+F,4U,nsqL2)k6
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)

iD8DBQE/LTVj0KQix3oyIMcRAlUcAJ4h4SPJ8gYKdOPy1fwnVma5oZKPewCgyS4v
+7K548aQhk9vIoJZBzbCXGI=
=ARDZ
-----END PGP SIGNATURE-----

--=.+F,4U,nsqL2)k6--