klaptopdaemon from kde 3.1.3 failed to compile. GCC complains abuout ...kdeutils/klaptopdaemon/linux/cistpl.h: error: ISO C++ forbids zero-size array `ccitt_code' There is a fix at: http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdeutils/klaptopdaemon/linux/cistpl.h.diff?r1=1.1&r2=1.2 after applying it compiles and works ok. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.48-r7 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r3) ================================================================= System uname: 2.6.0-test2 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz GENTOO_MIRRORS="ftp://ftp.uninett.no/pub/linux/Gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/mnt/var_tmp/ftp/distfiles" PKGDIR="/mnt/var_tmp/ftp/packages" PORTAGE_TMPDIR="/mnt/var_tmp/portage_tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 avi crypt cups encode foomaticdb gif gpm jpeg libg++ libwww mad mikmod mmx mpeg ncurses pdflib png spell xml2 xmms xv zlib gdbm berkdb slang readline arts java sdl tcpd pam ssl perl python imlib oggvorbis gtk qt kde motif opengl oss trusted pnp alsa apm -gnome gtk2 X cdr dvd sse -3dnow truetype samba pic -nls -svga -dga nptl -xinerama -prebuilt -quicktime tiff" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe" CXXFLAGS="-march=pentium4 -O2 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
This is a gcc-3.3 problem. We don't support kde-3.1.x with gcc-3.3 yet, but we are willing to accept clean patches to fix the problems. (Preferably from official kde sources (mailing list, bugzilla, etc))