Re: [GCC][OFF-TOPIC] Turning off specific warnings

From: George (greerga@CIRCLEMUD.ORG)
Date: 12/18/97


On Wed, 17 Dec 1997, Chris Jacobson wrote:

>act.wizard.c++:2090: warning: comparison between signed and unsigned

-Wno-sign-compare

>act.wizard.c++:2107: warning: int format, long int arg (arg 4)

Change the %d in the format string to a %ld. This warning can cause crashes
if you mix types, in this case you're safe if your long int == short int
such as Linux.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- 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/08/00 PST