This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Mini-patch for cccp.c
- To: egcs at cygnus dot com
- Subject: Re: Mini-patch for cccp.c
- From: Peter Seebach <seebs at monolith dot solon dot com>
- Date: Wed, 1 Oct 1997 13:08:09 -0500 (CDT)
Chip Salzenberg - a.k.a. - <chip@pobox.com> writes:
>According to Thomas Koenig:
>> To use a char in such circumstances appears to me very, very unclean.
>Your intuition needs training, then. In C, char is just tinyint.
>Pretending otherwise is foolish.
char is actually a very awkward integer type; you can't even be sure whether
it's signed or unsigned, and it has a lot of additional aliasing baggage
and properties. We do not recommend that it be used for anything other than
aliasing and characters. *sigh*.
The best way to bool in C9X will probably be 'bool'. :)
-s