Port-m68k archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD-current on Quadra 610



christos@ wrote:

> In article <141113233627.M0113915%mirage.ceres.dti.ne.jp@localhost>,
> Izumi Tsutsui  <tsutsui%ceres.dti.ne.jp@localhost> 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


Home | Main Index | Thread Index | Old Index