[NEWBIE] warning: left shift count >= width of type

From: John Hines (jahweb@grnco.net)
Date: 05/25/99


Hello

I have a few of the compiler warnings as stated in the subject. I
have researched thru the archives of the mailing list and have
learned what has caused it.
It was recommended to convert to 128bit using the patch. This
patch scares the living daylights out of me (I'm using a heavily
modified bpl15 patch for maybe bpl11?).
There was another way around this problem without using the
128patch. To create new arrays for the bitvectors that are over (1
<< 31).

/* Extra object flags: used by obj_data.obj_flags.extra_flags */
in this section of structs.h I have up to (1 << 44). Is it safe to
assume if I grep thru and create obj_data.obj_flags.extra_flags_2
that I can place bitvectors from 31 to 44 there?
Has anyone ever gone this route opposed to  converting to 128bit?

any advice or kick in the proverbial code buttoks would help me
and shine your shoes

Thanks
John Hines                    |   Weefcraft Custom Tiedyed Apparel
Founder/Coder                 |   Tiedye the way you want it!
TorbinMUD                     |     http://www.tiedye.org
torbinmud.rnrws.com 9191      |        weef@tiedye.org


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



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