Will there be a 5.3.1?
Erik Trulsson
ertr1013 at student.uu.se
Tue Dec 21 11:29:27 PST 2004
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
ertr1013 at student.uu.se
More information about the freebsd-stable
mailing list