This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] USER_H tweak for NetBSD
- From: Krister Walfridsson <cato at df dot lth dot se>
- To: Jason R Thorpe <thorpej at wasabisystems dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 8 Dec 2002 03:05:25 +0100 (MET)
- Subject: Re: [PATCH] USER_H tweak for NetBSD
On Sat, 7 Dec 2002, Krister Walfridsson wrote:
> On Tue, 3 Dec 2002, Jason R Thorpe wrote:
>
> > NetBSD provides its own versions of the user header files that GCC
> > also provides.
> >
> > Committed to mainline.
> >
> > * config/t-netbsd (USER_H): Set to $(EXTRA_HEADERS).
>
> NetBSD does not have stdbool.h, so you need to add it to USER_H.
After looking at 'make check' on my various computers, I'd like to see
the change reverted (i.e. it is not enough to just add stdbool.h)
NetBSD 1.5 and 1.6 gives a couple of random failures from stdbool.h
missing, that the NetBSD iso646.h defines "and", etc. (i.e. nothing
really serious, but why break something that is working?)
NetBSD 1.4 gives massive failures due to varargs not working unless
a new stdarg.h is installed.
/Krister