Subject: Re: current isn't building and I think it's
To: None <current-users@netbsd.org>
From: walt <wa1ter@myrealbox.com>
List: current-users
Date: 12/28/2005 07:35:39
On Tue, 2005-12-27 at 12:26 -0500, Perry E. Metzger wrote:

> I've now done the __inline thing for the small number of include files
> where it was user visible, so anything C89 or after should now be
> fine. (I'll be doing more testing to see if I missed something).

Hi Perry,

I've updated my -current but I'm still seeing this error:

gcc -o dummy dummy.c  -pipe -ansi -Wall  -lpthread  
In file included from /usr/include/machine/endian_machdep.h:7,
                 from /usr/include/sys/endian.h:78,
                 from /usr/include/machine/endian.h:3,
                 from /usr/include/sys/types.h:98,
                 from /usr/include/sys/time.h:38,
                 from /usr/include/time.h:131,
                 from /usr/include/pthread.h:44,
                 from dummy.c:2:
/usr/include/machine/byte_swap.h:49: error: syntax error before "__uint32_t"

The byte_swap.h still uses 'inline', which I think is causing the problem(?)
(This is on i386, BTW.)

Thanks!