This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: sizeof bool > sizeof int ?!?
- To: "Gary V. Vaughan" <gvaughan at oranda dot demon dot co dot uk>
- Subject: Re: sizeof bool > sizeof int ?!?
- From: Per Bothner <bothner at cygnus dot com>
- Date: Thu, 09 Jul 1998 12:12:32 -0700
- cc: EGCS mailing list <egcs at cygnus dot com>, faber at dbai dot tuwien dot ac dot at
> Certainly code will run faster on most 32bit architectures using int's
> (32 bits) rather than char's (8 bits), so it makes sense to use, e.g.
> typedef int bool;
Why stop there? We should by the same argument:
typedef int short;
--Per Bothner
Cygnus Solutions bothner@cygnus.com http://www.cygnus.com/~bothner