Re: Oasis 1.5, anyone else see this?

From: Rasdan (rasdan@PEAK.ORG)
Date: 11/07/97


>>             gcc -c -g -Wall -Wshadow -Wnested-externs  comm.c
>>     comm.c: In function `init_game':
>>     comm.c:303: warning: comparison is always 0 due to limited range of
>>     data type

>>     303>  if (entry->type < 0 || entry->type > 4)
>
>Do you have entry->type defined as boolean perhaps?
>
>(shouldn't be)

This shouldn't matter, unless of course your mud is a C++ one, because in C,
a bool is the same thing as a byte.

Rasdan
                                  /   \
        _                 )      ((   ))     (
       (@)               /|\      ))_((     /|\                 _
       |-|`\            / | \    (/\|/\)   / | \               (@)
       | | ------------/--|-voV---\`|'/--Vov-|--\--------------|-|
       |-|                  '^`   (o o)  '^`                   | |
       | |  James C. Thomas Jr.   `\Y/'  Founder of Finality   |-|
       |-|                 rasdan@finality.com                 | |
       | |                  finality.com 4000                  |-|
       |_|_____________________________________________________| |
       (@)       l   /\ /         ( (       \ /\   l         `\|-|
                 l /   V           \ \       V   \ l           (@)
                 l/                _) )_          \I
                                   `\ /'
                                     `


     +------------------------------------------------------------+
     | 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/08/00 PST