This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: sizeof bool > sizeof int ?!?
- To: "EGCS mailing list" <egcs at cygnus dot com>
- Subject: Re: sizeof bool > sizeof int ?!?
- From: "Rask Ingemann Lambertsen" <rask at kampsax dot k-net dot dk>
- Date: 05 Jul 98 11:55:31 +0200
- Cc: faber at dbai dot tuwien dot ac dot at
- Organization: Me? Organised? Dream on...
Den 03-Jul-98 15:15:06 skrev Gerald Pfeifer fĝlgende om "sizeof bool > sizeof int ?!?":
> with egcs-2.90.29 980515 (egcs-1.0.3 release) on alphaev56-dec-osf4.0d
> and -- surprise, surprise! -- sizeof bool > sizeof int !?!
> bool = 8
> short = 2
> int = 4
> long = 8
> I find it _very_ hard calling this a feature!
> Even if it may be standards compliant, this is most surprising for
> 95%[1] of all developers.
Possibly, but does it have any impact on the code? Apart form wasting huge
amounts of memory, that is?
Regards,
/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen | E-mail: mailto:rask@kampsax.k-net.dk |
| Registered Phase5 developer | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4000, 775 kkeys/s (RC5-64) | "ThrustMe" on XPilot, ARCnet and IRC |
| Shakespeare, C Version: (0x2B | ~0x2B) |