Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275116 - [PATCH] app-office/qbankmanager-0.51_beta does not compile with net-libs/aqbanking-4.0.0 and gcc-4.4
Summary: [PATCH] app-office/qbankmanager-0.51_beta does not compile with net-libs/aqba...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-22 21:49 UTC by Martin Väth
Modified: 2009-06-28 10:45 UTC (History)
0 users

See Also:
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 (aqbanking-public.patch,292 bytes, patch)
2009-06-22 21:51 UTC, Martin Väth
Details | Diff

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