Hi John,
> You might be right here. I'm a little rusty on what is supported
> in ANSI C and what is not. I'm open to keeping bool if it is supported
> in ANSI C and also to stating that the spec conforms to C99.
>
> Or to lowest common denominator by make it an int. What do
> you think ?
Ok, I looked it up. According to the GCC documentation, the
bool type in C99 is supported via the new stdbool.h header file.
Including this file gives you `bool', `true', and `false'
identifiers with the same meanings as in C++.
Given that `bool' is not builtin to C99 but requires the
inclusion of stdbool.h, I think we should go with John's
proposal and just use int. This makes the standard more portable
in this particular area as it removes a dependency on C99 and
the C99 standard C library.
Per
-- Per Bojsen Email: <bojsen@zaiqtech.com> Zaiq Technologies, Inc. WWW: http://www.zaiqtech.com 78 Dragon Ct. Tel: 781 721 8229 Woburn, MA 01801 Fax: 781 932 7488Received on Tue Aug 31 20:55:07 2004
This archive was generated by hypermail 2.1.8 : Tue Aug 31 2004 - 20:55:10 PDT