Summary: | kde-base/kcontrol-3.5.10 fails to compile with gcc-4.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vladimir Berezhnoy <non7top> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | raxas, rhill, zgredder |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 249226 |
Description
Vladimir Berezhnoy
2009-09-10 13:26:58 UTC
This is due to improvements in handling const-corectness in gcc-4.4 http://gcc.gnu.org/gcc-4.4/porting_to.html I looked at the code and it's not trivial to fix, because a pointer obtained by strchr function is later manipulated. If it wouldn't be then patching kcontrol would be a simple "char *" => "const char *" conversion. Gentoo KDE Team: is it worth fixing (if so, I can come up with a patch) or KDE 3 is going to be nuked soon from portage? since the kde 3.5.10 stuff is alrady in kde-sunset overlay, hopefully to keep it there in working state as long as would be possible, your patch is very welcome :) kcontrol-3.5.10 compiles fine on my machine with gcc-4.1.1. Please sync your portage tree - there's already a patch for this issue. I think this can be closed as RESOLVED INVALID? yep, already fixed. |