I get the following error when doing a make of squid-3.HEAD-020080609 on Fedora 9. The odd thing is that the error doesn't happen with each build attempt, just 95% of the build attempts. I tried removing various CFLAG options but to with no luck. I have also included by configure directives. Any ideas on how to fix this?
Configure command: # squid compile options # CHOST="x86_64-pc-linux-gnu" \ CFLAGS="-DNUMTHREADS=65 \ -march=nocona" \ ./configure \ --enable-async-io \ --enable-icmp \ --enable-useragent-log \ --enable-snmp \ --enable-cache-digests \ --enable-follow-x-forwarded-for \ --enable-storeio="aufs" \ --enable-removal-policies="heap,lru" \ --with-maxfd=16384 \ --enable-poll \ --disable-ident-lookups \ --enable-linux-trpoxy4 \ --enable-auth="basic,digest" \ --enable-zph-qos \ --enable-ssl \ Error output: if g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/opt/squid/etc/squid.conf\" -I. -I. -I../include -I. -I. -I../include -I../include -I../lib/libTrie/include -I../lib -I../lib -I/usr/include/libxml2 -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -D_REENTRANT -g -O2 -MT client_side_reply.o -MD -MP -MF "$depbase.Tpo" -c -o client_side_reply.o client_side_reply.cc; \ then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi cc1plus: warnings being treated as errors client_side_reply.cc: In member function ‘void clientReplyContext::doGetMoreData()’: client_side_reply.cc:1575: error: suggest parentheses around && within || client_side_reply.cc:1592: error: suggest parentheses around && within || make[3]: *** [client_side_reply.o] Error 1 make[3]: Leaving directory `/root/FC9SquidStuff/squid-3.HEAD-20080609/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/FC9SquidStuff/squid-3.HEAD-20080609/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/FC9SquidStuff/squid-3.HEAD-20080609/src' make: *** [all-recursive] Error 1