Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51621 - OpenHBCI does not compile with gcc 3.4
Summary: OpenHBCI does not compile with gcc 3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 48528
  Show dependency tree
 
Reported: 2004-05-21 02:30 UTC by Carl Bach
Modified: 2004-06-24 11:22 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 Carl Bach 2004-05-21 02:30:41 UTC
I cant emerge Openhbci with gcc 3.4

g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../ -I../../openhbci -I../../openhbci/core -O3 -march=athlon-mp -funroll-loops -fomit-frame-pointer -pipe -ftracer -ffast-math -MT keyfile.lo -MD -MP -MF .deps/keyfile.Tpo -c keyfile.cpp  -fPIC -DPIC -o .libs/keyfile.o
In file included from ../../openhbci/openhbci.h:55,
                 from keyfile.cpp:44:
../../../openhbci/tree.h:698: error: expected `;' before "root"
../../../openhbci/tree.h:706: error: expected `;' before "const_root"
../../../openhbci/tree.h: In member function `bool HBCI::Tree<T>::clear()':
../../../openhbci/tree.h:714: error: there are no arguments to `root' that depend on a template parameter, so a declaration of `root' must be available
../../../openhbci/tree.h:714: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from ../../openhbci/openhbci.h:56,
                 from keyfile.cpp:44:
../../../openhbci/conf.h: In member function `HBCI::Tree<HBCI::ConfigNode>::iterator HBCI::Config::root()':
../../../openhbci/conf.h:257: error: 'class HBCI::Tree<HBCI::ConfigNode>' has no member named 'root'
../../../openhbci/conf.h: In member function `HBCI::Tree<HBCI::ConfigNode>::const_iterator HBCI::Config::const_root() const':
../../../openhbci/conf.h:259: error: 'const class HBCI::Tree<HBCI::ConfigNode>' has no member named 'const_root'
../../../openhbci/tree.h: In member function `bool HBCI::Tree<T>::clear() [with T = HBCI::ConfigNode]':
../../../openhbci/tree.h:81:   instantiated from `HBCI::Tree<T>::~Tree() [with T = HBCI::ConfigNode]'
../../../openhbci/conf.h:249:   instantiated from here
../../../openhbci/tree.h:714: error: `root' undeclared (first use this function)
../../../openhbci/tree.h:714: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[4]: *** [keyfile.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/openhbci-0.9.14/work/openhbci-0.9.14/src/plugins/keyfile'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/openhbci-0.9.14/work/openhbci-0.9.14/src/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/openhbci-0.9.14/work/openhbci-0.9.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/openhbci-0.9.14/work/openhbci-0.9.14'

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.6-rc3-love4)
=================================================================
System uname: 2.6.6-rc3-love4 i686 AMD Athlon(TM) MP 2400+
Gentoo Base System version 1.4.14
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-mp -funroll-loops -fomit-frame-pointer -pipe -ftracer -ffast-math"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-mp -funroll-loops -fomit-frame-pointer -pipe -ftracer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ ftp://gentoo.inode.at/source/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm avi berkdb bonobo crypt cups curl directfb encode esd evo faad fbcon ffmpeg flac fltk foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 guile imlib java jpeg ldap libg++ libwww live mad mikmod mmx motif mozilla mpeg mpeg4 ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype usb wmf wmv x86 xine xinerama xml2 xmms xv zlib"


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Hanno Böck gentoo-dev 2004-06-24 11:22:49 UTC
fixed in 0.9.16