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

Bug 214248

Summary: app-text/aiksaurus-1.2.1 fails to compile with GCC 4.3
Product: Gentoo Linux Reporter: Harald van Dijk (RETIRED) <truedfx>
Component: [OLD] GCC PortingAssignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE) <app-dicts+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: gcc-porting, mg_gentoo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: aiksaurus-1.2.1-gcc43.patch

Description Harald van Dijk (RETIRED) gentoo-dev 2008-03-22 13:44:03 UTC
app-text/aiksaurus-1.2.1 fails to compile with GCC 4.3. There are several errors such as

aiksaurus.t.cpp: In function ‘void checkError(const Aiksaurus&)’:
aiksaurus.t.cpp:59: error: ‘exit’ was not declared in this scope
aiksaurus.t.cpp: In function ‘int main(int, const char**)’:
aiksaurus.t.cpp:138: error: ‘exit’ was not declared in this scope
aiksaurus.t.cpp:145: error: ‘exit’ was not declared in this scope
aiksaurus.t.cpp:153: error: ‘exit’ was not declared in this scope

which are fixed by including the right headers. I'll attach a patch shortly.
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2008-03-22 13:47:48 UTC
Created attachment 146890 [details, diff]
aiksaurus-1.2.1-gcc43.patch

This fixes the compilation here, and the program runs without problems afterwards.
Comment 2 Wulf Krueger (RETIRED) gentoo-dev 2008-03-29 01:45:46 UTC
Thanks, Harald! Fixed in CVS.