Search squid archive

Re: Error: comparison between signed and unsigned int

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux