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

Bug 225479

Summary: [gcc-4.3] app-text/sword-1.5.10-r2 fails to compile w/ gcc-4.3
Product: Gentoo Linux Reporter: Marek Miller <mlm>
Component: Current packagesAssignee: Theology Herd (disbanded) <theology+disabled>
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: sword-1.5.10-r2-gcc43.patch

Description Marek Miller 2008-06-08 23:12:03 UTC
Again missing headers.

Steps to reproduce:
1. echo "=app-text/sword-1.5.10-r2" >> /etc/portage/package.keywords
2. USE="debug curl doc icu lucene" emerge -v1 =app-text/sword-1.5.10-r2

The error messages:
1.
> ../src/modules/filters/gbfwordjs.cpp: In member function 'virtual char sword::GBFWordJS::processText(sword::SWBuf&, const sword::SWKey*, const sword::SWModule*)':
> ../src/modules/filters/gbfwordjs.cpp:79: error: 'sprintf' was not declared in this scope

2.
> ../bindings/flatapi.cpp:369: error: 'intptr_t' was not declared in this scope
> ../bindings/flatapi.cpp:376: error: 'intptr_t' does not name a type

3.
> corediatheke.h:42: error: 'ostream' has not been declared

4.
> osiscgi.cpp:102: error: 'isdigit' was not declared in this scope
> osiscgi.cpp:129: error: 'isdigit' 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 23:12:28 UTC
Created attachment 156023 [details, diff]
sword-1.5.10-r2-gcc43.patch
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-09 12:52:44 UTC
Thanks, committed.