Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110646 - kdegraphics-3.4.3 ksvg implementation fails to build with GCC 4.0
Summary: kdegraphics-3.4.3 ksvg implementation fails to build with GCC 4.0
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-27 14:10 UTC by Igor V. Kovalenko
Modified: 2005-10-27 14:25 UTC (History)
0 users

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


Attachments
Patch to introduce missing class declarations (kdegraphics-3.4.3-gcc4.patch,1.00 KB, patch)
2005-10-27 14:11 UTC, Igor V. Kovalenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Igor V. Kovalenko 2005-10-27 14:10:24 UTC
kdegraphics-3.4.3 cannot be compiled with GCC 4.0 due to dereferences of
forward-declared c++ class objects. I bet this was discussed on gcc-dev list
this month


Reproducible: Always
Steps to Reproduce:
1. Have gcc-4.0.x the default compiler
2. emerge kdegraphics (from KDE 3.4.3)
3.

Actual Results:  
build failed

Expected Results:  
emerge succeeded

It's [to my mind] clearly a problem with kdenetwork and recent changes to GCC4 -
missing class declarations are preventing more strict compiler from successful
compilation
Comment 1 Igor V. Kovalenko 2005-10-27 14:11:34 UTC
Created attachment 71589 [details, diff]
Patch to introduce missing class declarations

with this patch applied kdegraphics-3.4.3 can be installed with GCC 4.0
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-27 14:25:27 UTC
Submit them upstream if you want, bug KDE 3.5 should be GCC4-clear.  
And being GCC4 experimental, I don't really think it's the case to add patches  
over that.