Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250007 - net-proxy/squid-3.0.10-r1 fails to compile: client_side_reply.cc:1842: error: suggest parentheses around && within ||
Summary: net-proxy/squid-3.0.10-r1 fails to compile: client_side_reply.cc:1842: error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-06 09:15 UTC by Gergely POLONKAI
Modified: 2008-12-14 14:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
full build.log on my machine (build.log,100.06 KB, text/plain)
2008-12-06 09:18 UTC, Gergely POLONKAI
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gergely POLONKAI 2008-12-06 09:15:54 UTC
when trying to emerge net-proxy/squid-3.0.10-r1, it fails with a message which should be only a warning:

cc1plus: warnings being treated as errors
client_side_reply.cc: In member function ‘void clientReplyContext::sendMoreData(StoreIOBuffer)’:
client_side_reply.cc:1842: error: suggest parentheses around && within ||

Reproducible: Always

Steps to Reproduce:
1. USE="epoll icap-client kerberos kqueue ldap logrotate mysql nis pam postgres radius samba sasl snmp sqlite ssl zero-penalty-hit" emerge =net-proxy/squid-3.0.10-r1



Portage 2.1.6_rc3 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2-wood i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r2-wood-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-glibc2.0
Timestamp of tree: Fri, 05 Dec 2008 07:45:02 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r15, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inf.elte.hu/ "
LANG="hu_HU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="hu"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/portage/distfiles/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X acl alsa arts avahi bash-completion berkdb branding bzip2 cli cracklib crypt cups dbus dri esd fortran gdbm gif gnome gnome-keyring gnutls gpm gs gstreamer gtk hal iconv idn ipv6 isdnlog jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdeprefix kerberos ldap libnotify midi mmx mp3 mudflap ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pcre perl png postgres pppd python qt4 readline reflection samba sdl session spl sse sse2 ssl ssse3 startup-notification sysfs tcpd theora threads tiff unicode vhosts vim-syntax vorbis wmf x86 xcomposite xfce xinerama xinetd xorg xscreensaver xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias asis auth_digest authn_dbd cern_meta charset_lite dbd dumpio ident imagemap log_forensic proxy proxy_ftp proxy_http substitute version" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Gergely POLONKAI 2008-12-06 09:18:08 UTC
Created attachment 174392 [details]
full build.log on my machine

Attached my build.log
Comment 2 Gergely POLONKAI 2008-12-06 09:26:30 UTC
Without the zero-penalty-hit use flag it compiles well.
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2008-12-14 14:04:20 UTC
Fixed in cvs.