Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57632 - TSE3 0.2.7 does not compile
Summary: TSE3 0.2.7 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-19 13:35 UTC by Andrew McGuinness
Modified: 2004-07-19 23:28 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew McGuinness 2004-07-19 13:35:58 UTC
C++ error when emerge tse3 with gcc-3.3.3-r6


Reproducible: Always
Steps to Reproduce:
emerge tse3.  I tried with -j1 in case it was a distcc issue.
Actual Results:  
In file included from DisplayParams.cpp:5:
../../../src/tse3/file/XML.h:157: error: `void 
   TSE3::File::XmlFileWriter::element(const std::string&, unsigned int)' and `
   void TSE3::File::XmlFileWriter::element(const std::string&, unsigned int)' 
   cannot be overloaded
distcc[7953] ERROR: compile on localhost failed



root@ceylon tmp # emerge info
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.4.26-gentoo-r6)
=================================================================
System uname: 2.4.26-gentoo-r6 i686 Celeron (Mendocino)
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb crypt crypto cups encode esd foomaticdb gdbm gif
gimpprint gnome gpg gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif
mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime
readline scanner sdl slang spell ssl svga tcpd tiff truetype usb x86 xml2 xmms
xv zlib"
Comment 1 Andrew McGuinness 2004-07-19 13:37:42 UTC
The problem seems to be that "unsigned int" and "size_t" are equivalent 
on this platform, and the compiler will not allow the two methods to be 
defined in src/tse3/file/XML.h with effectively the same argument type. 

I'm not sure what the portable fix is: is there a compiler option to change this behaviour?
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-19 23:28:56 UTC
fixed in portage with a conditional epatch.

thanks.