Re: gcc is on crack...

From: George (greerga@CIRCLEMUD.ORG)
Date: 10/18/98


On Sun, 18 Oct 1998, Ronny Iversen wrote:

>#define ITEM_NODET         (1 << 26)    /* the message of imlicit
>constant etc  */

Should be ok.

>#define IS_OBJ_STAT(obj,stat)
>(IS_SET((obj)->obj_flags.extra_flags,stat))
>sprintf(buf,"%s%s\r\n", buf, get_eq_cond(GET_OBJ_TIMER(obj),
>IS_OBJ_STAT(obj, ITEM_NODET)));
>
>spells.c:556: warning: overflow in implicit constant conversion

What is get_eq_cond() defined as?  Could you give more context?

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/   (mostly) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


     +------------------------------------------------------------+
     | 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