Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 225451

Summary: [gcc-4.3] kde-misc/pwmanager-1.2.4-r2 fails to compile w/ gcc-4.3
Product: Gentoo Linux Reporter: Marek Miller <mlm>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: pwmanager-1.2.4-r2-gcc43.patch

Description Marek Miller 2008-06-08 21:57:06 UTC
Again missing headers.

Steps to reproduce:
1. USE="arts debug xinerama" emerge -v1 =kde-misc/pwmanager-1.2.4-r2

The error messages:
1.
> serializer.cpp: In member function 'bool Serializer::extractEntry(const QDomNode&, PwMDataItem*)':
> serializer.cpp:303: error: 'strtol' was not declared in this scope

2.
> main.cpp: In member function 'virtual int PwMApplication::newInstance()':
> main.cpp:34: error: 'EXIT_SUCCESS' was not declared in this scope

3.
> base64.cpp: In constructor 'Base64::Base64()':
> base64.cpp:59: error: 'exit' was not declared in this scope

4.
> compressbzip2.cpp: In member function 'bool CompressBzip2::compress(std::string*)':
> compressbzip2.cpp:36: error: 'memcpy' was not declared in this scope

My emerge --info: as in the bug 225387.
I include the patch.
Comment 1 Marek Miller 2008-06-08 21:57:51 UTC
Created attachment 156009 [details, diff]
pwmanager-1.2.4-r2-gcc43.patch
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-09 01:09:32 UTC
Thanks Marek, included in -r3.