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

Bug 275116

Summary: [PATCH] app-office/qbankmanager-0.51_beta does not compile with net-libs/aqbanking-4.0.0 and gcc-4.4
Product: Gentoo Linux Reporter: Martin Väth <martin>
Component: Current packagesAssignee: Hanno Böck <hanno>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch against net-libs/aqbanking-4.0.0 to make app-office/qbankmanager-0.9.51_beta compile with gcc-4.4

Description Martin Väth 2009-06-22 21:49:50 UTC
app-office/qbankmanager-0.51_beta dies near the end of the emerge with the error

mainwindow.cpp: In member function 'void MainWindow::slotSettings()':
mainwindow.cpp:621: error: 'QWidget' is an inaccessible base
of 'QBCfgTabSettings'

Perhaps this happens only due to stricter rules in gcc-4.4
(I did not try other gcc versions).
Tracking back, it seems that QBCfgTabUi should be inherited public instead of
private for QBCfgTab in the header file /usr/include/qbanking/qbcfgtab.h
Therefore, the actual cause of the bug seems to be in net-libs/aqbanking-4.0.0.
I attach a patch for the latter.
Comment 1 Martin Väth 2009-06-22 21:51:04 UTC
Created attachment 195519 [details, diff]
Patch against net-libs/aqbanking-4.0.0 to make app-office/qbankmanager-0.9.51_beta compile with gcc-4.4
Comment 2 Wormo (RETIRED) gentoo-dev 2009-06-27 06:39:56 UTC
Thanks for posting the solution, assigning to aqbanking maintainer.
Comment 3 Hanno Böck gentoo-dev 2009-06-28 10:45:05 UTC
Thanks for the patch, committed and sent upstream.