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]
Other format: [Raw text]

Re: Strange CPP failures


On Tue, 16 Jul 2002, Neil Booth wrote:

> Joseph - what to do about this?  I don't think adding "!= 0"
> is a good fix - the typedef to char is fundamentally broken.
> I don't see how a typedef to anything can really work in these
> cases.

The work to use bool in GCC is Zack's, but I'd suppose the portability
requirement on assignments to bool needs documenting in
README.Portability.  I'd considered it obvious (no-one's suggested 
allowing use of C99 features in GCC yet) that uses of bool in GCC need to 
allow for it being either a "traditional" bool type (as in curses etc.) or 
a C99 _Bool.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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