On Tue, Dec 21, 2004 at 07:08:50PM +0000, Pete French wrote:
> > It's the C language. While it's claimed to be "portable," it really doesn't
> > address integer size and endianism well enough.
> 
> All the more reason to be careful you might have thought :-) Mind you,
> trying to explain to students why 'long x = 65535;' set x equal to -1
> always made me feel like I was trying to appologise for the indefensible!

Buggy compilers are indefensible, yes, but why try to apologise for it?

'long x = 65535;' will not set x to -1, even with 16-bit ints.


-- 
<Insert your favourite quote here.>
Erik Trulsson
[EMAIL PROTECTED]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to