Re: [code] sh_int -> short int? from "Daniel Koepke" at Aug 30, 97 12:16:06 pm

From: Andrew Helm (ashe@IGLOU.COM)
Date: 08/30/97

> On Sat, 30 Aug 1997, David Eliott wrote:
> [if anyone wants to start arguing about legal stuff, again
> (<cough>Andrew<cough>), send all of your messages to /dev/null; or the
> Recycling Bin if you're in Windows...or better yet, don't waste your
> time. :)]

*hugs Daniel*
Nice to know you're still thinking of me. =)

  About the UInt8, SInt8, UInt16... SInt32 thing, I think it's a
great idea, but unfortunately, it's not going to be very portable.
In ANSI C the only thing you're garanteed (correct me if I'm
wrong) is that sizeof(char) == 1 and that a short int will be
equal to or greater than a char, an int will be greater than or
equal to a short in, etc. In fact, there's one system where
a char == short == int == long, and a char has 64 bits. :)
While it's true that Circle probably won't ever be compiled on
such a system, with new 64 bit computers around the corner
who know how ANSI C will change? (Although there have been
suggestions for a new long long type, as many of you probably

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/08/00 PST