Re: [squid-users] Error: comparison between signed and unsigned int

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Tue, 27 May 2008 23:35:59 +0200

can you file a new bug report on this one..

tis 2008-05-27 klockan 12:06 -0400 skrev Steve Bertrand:
> Thanks to all who helped resolve the 2358 bug, but I ran into another
> snag, although was able to correct it.
>
> pearl# uname -a
> FreeBSD pearl.ibctech.ca 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Fri Feb 29
> 11:53:16 EST 2008
>
> cc1plus: warnings being treated as errors
> main.cc: In function 'int main(int, char**)':
> main.cc:1169: warning: comparison between signed and unsigned integer
> expressions
> *** Error code 1
>
> Stop in /usr/local/src/squid-3.HEAD-20080526/src.
> *** Error code 1
>
>
> ...full output:
>
> http://ibctech.ca/bugs/squid_sign_compare.txt
>
> I managed to get around the problem and complete the make and install by
> adding the following to the configure line:
>
> CFLAGS="-Wno-sign-compare" CXXFLAGS="-Wno-sign-compare"
>
> I don't know if this has any relevance to anything else, so I'm just
> hoping this may help someone else.
>
> Steve
Received on Tue May 27 2008 - 21:36:20 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 05 2008 - 01:05:14 MDT