Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2005:
[Freeciv-Dev] (PR#12991) "warning: comparison is always true" in server/
Home

[Freeciv-Dev] (PR#12991) "warning: comparison is always true" in server/

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12991) "warning: comparison is always true" in server/diplomats.c
From: "Egor Vyscrebentsov" <evyscr@xxxxxxxxx>
Date: Thu, 5 May 2005 07:53:01 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12991 >

Good daytime!

CVS HEAD 2005-05-05 16:51 +0300

Since warnings are like error in debug mode:

cc1: warnings being treated as errors
/home/freeciv/freeciv/server/diplomats.c: In function
`spy_get_sabotage_list':
/home/freeciv/freeciv/server/diplomats.c:214: warning: comparison is
always true due to limited range of data type
make[3]: *** [diplomats.o] Error 1

Thanks, evyscr.



[Prev in Thread] Current Thread [Next in Thread]