Subject: Re: Non-ANSI ism in system headers
To: Neil Booth <>
From: Bill Studenmund <>
List: current-users
Date: 04/26/2005 12:04:42
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 26, 2005 at 10:29:35PM +0900, Neil Booth wrote:
> Bill Studenmund wrote:-
> > What you might do is try defining STDC. That should turn off all of the=
> > non-gcc (and a lot of non-NetBSD) stuff.
> I do define __STDC__; like GCC.  My original message pointed out
> that the preprocessed traces were the same; in fact to the offending
> line there is nothing but #include and #ifndef header guards.

Then the problem is that <sys/cdefs.h> isn't getting pulled in. It has a=20
define that, in face of __STDC__, defines __signed as signed.

Sounds like you found a bug in the header includes. :-|

Take care,


Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.3 (NetBSD)