Re: What the heck?

From: d. hall (dhall@OOI.NET)
Date: 06/19/98


>>>>> thus on Thu, 18 Jun 1998 17:31:27 -0500, Quinn wrote:

> ok, this is gonna seem like Im a total idiot, but I encontered like 50 of
> these in just 1 file, any ideas what they mean?

> left shift count >= width of type

> Ive also read through my C/C++ book to see if I could find anything on
> these before I asked, and alas no luck.

Do you have (1 << 32) (1 << 33) defined somewhere?

Unless your architecture has a "long long" type, you normally[1] cannot
exceed 32 bits for a long type, and remember the left shift starts at 0,
and ends at 31.

d.

[1] Indian Hill - "All the world is NOT a VAX."


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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