This is the mail archive of the gcc@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: sizeof bool > sizeof int ?!?


> 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



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