This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: stdbool.h, again
- To: drepper at cygnus dot com (Ulrich Drepper), njs3 at doc dot ic dot ac dot uk (Niall Smart)
- Subject: Re: stdbool.h, again
- From: njs3 at doc dot ic dot ac dot uk (Niall Smart)
- Date: Thu, 4 Jun 1998 16:47:43 +0100
- Cc: egcs-bugs at cygnus dot com
On May 30, 8:55am, Ulrich Drepper wrote:
} Subject: Re: stdbool.h, again
> njs3@doc.ic.ac.uk (Niall Smart) writes:
>
> > > /* The names `true' and `false' must also be made available as macros. */
> > > #define false false
> > > #define true true
> >
> > Is this correct?
> >
> > #define true 1
> > #define false 0
>
> Both solutions provide the compiler with the same value, mine also
> provides the correct debugging information.
Sorry, nevermind, was completely on the wrong track here anyway
Niall