Bug 214368 - app-office/karbon-1.6.2 fails w/ gcc 4.3.0
Bug#: 214368 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: kde@gentoo.org Reported By: loki_val@gentoo.org
Component: GCC Porting
URL: 
Summary: app-office/karbon-1.6.2 fails w/ gcc 4.3.0
Keywords:  
Status Whiteboard: 
Opened: 2008-03-23 13:59 0000
Description:   Opened: 2008-03-23 13:59 0000
Solution is to bump to karbon-1.6.3

Error:
/bin/bash ../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++
-DHAVE_CONFIG_H -I. -I. -I.. -I../lib/kofficeui -I../lib/kofficeui
-I../lib/kofficecore -I../lib/kofficecore -I../lib/store -I../lib/store
-I../lib/kwmf -I../lib/kwmf -I../lib/kopalette -I../lib/kopalette
-I../lib/kotext -I../lib/kotext -I../lib/kopalette -I../lib/kopalette
-I../lib/kopainter -I../lib/kopainter -I. -I./commands -I./core -I./dialogs
-I./dockers -I./render -I./visitors -I./widgets -I/usr/kde/3.5/include
-I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT 
-D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2
-O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION  -c -o vtool.lo vtool.cc
In file included from vtool.cc:30:
../lib/kofficeui/KoContextCelp.h:216: error: multiple parameters named 'parent'
vtool.cc: In member function 'bool VTool::mouseEvent(QMouseEvent*, const
KoPoint&)':
vtool.cc:133: warning: suggest explicit braces to avoid ambiguous 'else'
make[3]: *** [vtool.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /usr/qt/3/include/qdragobject.h:48,
                 from karbon_view.cc:23:
/usr/qt/3/include/qimage.h: In member function 'bool
QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
/usr/qt/3/include/qimage.h:58: warning: suggest parentheses around && within ||
In file included from ../lib/kofficecore/KoFilterManager.h:28,
                 from karbon_view.cc:40:
../lib/kofficecore/KoFilterChain.h: At global scope:
../lib/kofficecore/KoFilterChain.h:149: warning: type qualifiers ignored on
function return type
In file included from karbon_view.cc:40:
../lib/kofficecore/KoFilterManager.h:153: warning: type qualifiers ignored on
function return type
../lib/kofficecore/KoFilterManager.h:154: warning: type qualifiers ignored on
function return type
In file included from karbon_view.cc:44:
../lib/kofficeui/KoContextCelp.h:216: error: multiple parameters named 'parent'
karbon_view.cc: In member function 'virtual void
KarbonView::dropEvent(QDropEvent*)':
karbon_view.cc:375: warning: suggest explicit braces to avoid ambiguous 'else'
karbon_view.cc: At global scope:
karbon_view.cc:1546: warning: unused parameter 'c'
make[3]: *** [karbon_view.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/app-office/karbon-1.6.2/work/karbon-1.6.2/karbon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/app-office/karbon-1.6.2/work/karbon-1.6.2/karbon'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/app-office/karbon-1.6.2/work/karbon-1.6.2'
make: *** [all] Error 2


Reproducible: Always

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2008-04-21 18:58:08 0000 -------
I've fixed this, hope nobody minds.