cvs commit: src/sys/netinet icmp6.h ip6.h src/sys/netinet6
in6.h
Joe Marcus Clarke
marcus at marcuscom.com
Sat Oct 25 21:06:40 PDT 2003
On Sun, 2003-10-26 at 00:01, Kris Kennaway wrote:
> On Sun, Oct 26, 2003 at 02:54:09PM +1100, Bruce Evans wrote:
>
> > > > > revert following unwanted changes:
> > > > > - __packed to __attribute__((__packed__)
> > > > > - uintN_t back to u_intN_t
> > > > >
> > > > > Reported by: bde
> > > >
> > > > Thanks.
> > >
> > > I guess that probably fixes the port build failures I am seeing in N
> > > different ports :-)
> >
> > I'm surprised any ports care about this. Do they use a non-gcc compiler
> > or lint?
>
> Well, I'm seeing lots of errors like this:
>
> http://bento.freebsd.org/errorlogs/i386-5-latest/ucd-snmp-4.2.6_3.log
>
> In file included from /usr/include/netinet/in.h:575,
> from master.c:32:
> /usr/include/netinet6/in6.h:535: error: syntax error before "u_int32_t"
> /usr/include/netinet6/in6.h:651: error: syntax error before '*' token
> /usr/include/netinet6/in6.h:651: warning: type defaults to `int' in declaration of `inet6_option_alloc'
> /usr/include/netinet6/in6.h:651: warning: data definition has no type or storage class
> /usr/include/netinet6/in6.h:652: error: syntax error before "u_int8_t"
> /usr/include/netinet6/in6.h:653: error: syntax error before "u_int8_t"
> /usr/include/netinet6/in6.h:669: error: syntax error before "u_int8_t"
> /usr/include/netinet6/in6.h:674: error: syntax error before "u_int8_t"
> /usr/include/netinet6/in6.h:676: error: syntax error before "u_int8_t"
> gmake: *** [master.o] Error 1
>
> I haven't checked whether this commit fixes them, although looking at
> it now I'm not sure it does.
netinet6/in6.h (and netinet/in.h) requires sys/types.h to be included
before it. If you don't, you'd see these errors.
Joe
>
> Kris
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20031026/333eaf94/attachment.bin
More information about the cvs-src
mailing list