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
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
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.