This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: stdbool.h, again


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]