Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126951 - KBibtex does not compile with gcc-4
Summary: KBibtex does not compile with gcc-4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Marcus D. Hanwell (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-03-20 05:53 UTC by Ben
Modified: 2006-03-31 06:26 UTC (History)
1 user (show)

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


Attachments
kbibtex-gcc-4.1.patch (kbibtex-gcc-4.1.patch,405 bytes, patch)
2006-03-20 05:54 UTC, Ben
Details | Diff
kbibtex-0.1.3-r1.ebuild (kbibtex-0.1.3-r1.ebuild,704 bytes, text/plain)
2006-03-20 05:56 UTC, Ben
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben 2006-03-20 05:53:10 UTC
Emerging kbibtex with a new gcc version does not work, it gives following error:

./kbibtexlistview.h:65: error: extra qualification 'KBibTeXListView::' on member 'acceptDrag'

This is because of the strict c++ handling of gcc-4.
The following patch will fix it
Comment 1 Ben 2006-03-20 05:54:18 UTC
Created attachment 82651 [details, diff]
kbibtex-gcc-4.1.patch

Patch to fix compile errors with new versions of gcc
Comment 2 Ben 2006-03-20 05:56:18 UTC
Created attachment 82653 [details]
kbibtex-0.1.3-r1.ebuild

New ebuild to use the kbibtex-gcc-4.1.patch
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2006-03-31 06:26:54 UTC
fixed without revbump, thanks for the patch.