Subject: stdbool.h compatibility with gcc 2.x
To: None <firstname.lastname@example.org>
From: Julio M. Merino Vidal <email@example.com>
Date: 09/30/2005 16:51:54
I've been noticed that we can't use stdbool.h in programs that form part
of NetBSD because it is not provided by all ports (e.g., vax, which still
has an old gcc), thus breaking the build.
I believe that having a boolean type available (and usable) could make
our code clearer in some circumstances.
So, I'm wondering... could it be silly to provide a "fake" stdbool.h header
that uses an integer type to define the boolean type in those platforms
that don't have it (i.e., HAVE_GCC3=3Dno)? Should be trivial to do.
Julio M. Merino Vidal <firstname.lastname@example.org>
The NetBSD Project - http://www.NetBSD.org/