Re: NetBSD-current on Quadra 610

Izumi Tsutsui <[email protected]>
Newsgroups gmane.os.netbsd.ports.m68k
Message-ID <[email protected]>
christos@ wrote:

> In article <[email protected]>,
> Izumi Tsutsui  <[email protected]> wrote:
 :
> >Now I get the following error:
> 
> Fixed.

Thanks.

Now I get:
---
/r/work/netbsd-7/src/sys/arch/atari/stand/installboot/installboot.c: In function 'mkbootblock':
/r/work/netbsd-7/src/sys/arch/atari/stand/installboot/installboot.c:501:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
  *((u_int16_t *)bb->bb_xxboot + 255) = 0;
  ^
/r/work/netbsd-7/src/sys/arch/atari/stand/installboot/installboot.c:502:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
  *((u_int16_t *)bb->bb_xxboot + 255) = 0x1234 - abcksum(bb->bb_xxboot);
  ^
cc1: all warnings being treated as errors
*** [installboot.o] Error code 1
nbmake[10]: stopped in /r/work/netbsd-7/src/sys/arch/atari/stand/installboot
1 error
nbmake[10]: stopped in /r/work/netbsd-7/src/sys/arch/atari/stand/installboot
*** [dependall] Error code 2
---

Looks obvious, but I'll check it tomorrow...

---
Izumi Tsutsui
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.