Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 226363 - kde-misc/kbeam-0.61-r1 compilation failure with gcc-4.3
Summary: kde-misc/kbeam-0.61-r1 compilation failure with gcc-4.3
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
Depends on:
Blocks: gcc-4.3
  Show dependency tree
Reported: 2008-06-13 13:24 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2008-06-14 13:21 UTC (History)
1 user (show)

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

kbeam-0.61-gcc-4.3.patch (kbeam-0.61-gcc-4.3.patch,421 bytes, patch)
2008-06-13 13:33 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2008-06-13 13:24:19 UTC
kde-misc/kbeam-0.61-r1 fails to compile with gcc-4.3.1

Reproducible: Always

Steps to Reproduce:
1. emerge =kde-misc/kbeam-0.61-r1

Actual Results:  
main.cpp: In function 'int main(int, char**)':
main.cpp:47: error: 'exit' was not declared in this scope

Expected Results:  
build successfully

It looks like it is missing an stdlib.h include. Compilation with gcc-4.1.2 works fine.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2008-06-13 13:33:37 UTC
Created attachment 156629 [details, diff]

Patch to make kbeam-0.61 build with gcc-4.3
tested on amd64
Comment 2 Timo Gurr (RETIRED) gentoo-dev 2008-06-14 13:21:57 UTC
Fixed in CVS in kbeam-0.61-r1.ebuild, thanks for providing the patch.