Current-Users archive

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

Failure to build kernel i386 - am7990 struct access



Hi,

with today's CVS I get this:

/usr/src/sys/dev/ic/am7990.c -o am7990.o
/usr/src/sys/dev/ic/am7990.c: In function 'am7990_meminit':
/usr/src/sys/dev/ic/am7990.c:163:39: error: taking address of packed
member of 'struct leinit' may result in an unaligned pointer value
[-Werror=address-of-packed-member]
  163 |  lance_setladrf(&sc->sc_ethercom, init.init_ladrf);
      |                                   ~~~~^~~~~~~~~~~
cc1: all warnings being treated as errors

Riccardo


Home | Main Index | Thread Index | Old Index