On Wednesday 18 June 2003 21.57, Henrik Nordstrom wrote:
> GCC-3.3 barfs on Squid-2.5...

> Have not tried Squid-3 yet.


Not supricingly it barfs on Squid-3 as well on pretty much the same 
errors, plus a few C++ errors:

lib/MemPool.c: In function `memPoolCleanOne':
lib/MemPool.c:591: warning: dereferencing type-punned pointer will 
break strict-aliasing rules

lib/radix.c: In function `squid_rn_init':
lib/radix.c:1008: warning: dereferencing type-punned pointer will 
break strict-aliasing rules

lib/rfc1738.c: In function `rfc1738_do_escape':
lib/rfc1738.c:132: warning: comparison is always true due to limited 
range of data type

src/ACLRequestHeaderStrategy.h: In instantiation of 
`ACLRequestHeaderStrategy<HDR_REFERER> 
ACLRequestHeaderStrategy<HDR_REFERER>::Instance_':
src/ACLRequestHeaderStrategy.h:80:   instantiated from `static 
ACLRequestHeaderStrategy<header>* 
ACLRequestHeaderStrategy<header>::Instance() [with http_hdr_type 
header = HDR_REFERER]'
src/ACLReferer.cc:43:   instantiated from here
src/ACLRequestHeaderStrategy.h:59: error: `
   ACLRequestHeaderStrategy<header>::ACLRequestHeaderStrategy() [with 
http_hdr_type header = HDR_REFERER]' is private
src/ACLRequestHeaderStrategy.h:84: error: within this context

src/delay_pools.cc: In member function `bool 
   VectorMap<Key, Value>::indexUsed(unsigned char) const [with Key = 
unsigned 
   char, Value = DelayBucket]':
src/delay_pools.cc:395:   instantiated from here
src/delay_pools.cc:806: varning: comparison is always true due to 
limited range of data type

[duplicate errors pruned]

Regards
Henrik

Reply via email to