Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 314483

Summary: app-office/krita-2.1.2 does not build with gcc-4.5
Product: Gentoo Linux Reporter: Bernd Buschinski <b.buschinski>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 296658    
Attachments: fix compile with gcc-4.5

Description Bernd Buschinski 2010-04-10 11:14:18 UTC
app-office/krita-2.1.2 does not build with gcc-4.5

[ 36%] Building CXX object krita/ui/CMakeFiles/kritaui.dir/widgets/kis_curve_widget.o                                                 
In file included from /var/tmp/portage/app-office/krita-2.1.2/work/krita-2.1.2/krita/ui/widgets/kis_curve_widget.cpp:59:0:            
/var/tmp/portage/app-office/krita-2.1.2/work/krita-2.1.2/krita/ui/widgets/kis_curve_widget_p.h: In member function 'void KisCurveWidget::Private::drawGrid(QPainter&, int, int)':
/var/tmp/portage/app-office/krita-2.1.2/work/krita-2.1.2/krita/ui/widgets/kis_curve_widget_p.h:442:51: error: cannot call constructor 'QPen::QPen' directly
/var/tmp/portage/app-office/krita-2.1.2/work/krita-2.1.2/krita/ui/widgets/kis_curve_widget_p.h:442:51: error:   for a function-style cast, remove the redundant '::QPen'
/var/tmp/portage/app-office/krita-2.1.2/work/krita-2.1.2/krita/ui/widgets/kis_curve_widget.cpp: In member function 'virtual void KisCurveWidget::paintEvent(QPaintEvent*)':
/var/tmp/portage/app-office/krita-2.1.2/work/krita-2.1.2/krita/ui/widgets/kis_curve_widget.cpp:315:62: error: cannot call constructor 'QPen::QPen' directly
/var/tmp/portage/app-office/krita-2.1.2/work/krita-2.1.2/krita/ui/widgets/kis_curve_widget.cpp:315:62: error:   for a function-style cast, remove the redundant '::QPen'
/var/tmp/portage/app-office/krita-2.1.2/work/krita-2.1.2/krita/ui/widgets/kis_curve_widget.cpp:319:62: error: cannot call constructor 'QPen::QPen' directly
/var/tmp/portage/app-office/krita-2.1.2/work/krita-2.1.2/krita/ui/widgets/kis_curve_widget.cpp:319:62: error:   for a function-style cast, remove the redundant '::QPen'
make[2]: *** [krita/ui/CMakeFiles/kritaui.dir/widgets/kis_curve_widget.o] Error 1

Reproducible: Always
Comment 1 Bernd Buschinski 2010-04-10 11:14:39 UTC
Created attachment 227231 [details]
fix compile with gcc-4.5
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2010-04-11 22:13:47 UTC
Fixed, thanks.