Subject: make release breaks on typed punned pointer in /sys/dev/pci/twe.c
To: None <current-users@netbsd.org>
From: None <wulf@ping.net.au>
List: current-users
Date: 08/04/2003 01:18:45
G'day,

make release of NetBSD-current as of 4-8-2003 breaks with the following
error message:

/usr/src/newtools/bin/i386--netbsdelf-gcc   -ffreestanding  -O2 -Werror -Wall
-Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-
prototypes -Wno-sign-compare -Wno-uninitialized  -Di386 -I.  -I/usr/src/sys/arch

-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
*** Error code 1

Has anyone worked around this yet?

cheerio Berndt