Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314483 - app-office/krita-2.1.2 does not build with gcc-4.5
Summary: app-office/krita-2.1.2 does not build with gcc-4.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.5
  Show dependency tree
 
Reported: 2010-04-10 11:14 UTC by Bernd Buschinski
Modified: 2010-04-11 22:13 UTC (History)
0 users

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


Attachments
fix compile with gcc-4.5 (krita-gcc45.diff,3.79 KB, text/plain)
2010-04-10 11:14 UTC, Bernd Buschinski
Details

Note You need to log in before you can comment on or make changes to this bug.
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.