Bug 214248 - app-text/aiksaurus-1.2.1 fails to compile with GCC 4.3
Bug#: 214248 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: app-dicts@gentoo.org Reported By: truedfx@gentoo.org
Component: GCC Porting
URL: 
Summary: app-text/aiksaurus-1.2.1 fails to compile with GCC 4.3
Keywords:  
Status Whiteboard: 
Opened: 2008-03-22 13:44 0000
Description:   Opened: 2008-03-22 13:44 0000
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 From Harald van Dijk 2008-03-22 13:47:48 0000 -------
Created an attachment (id=146890) [details]
aiksaurus-1.2.1-gcc43.patch

This fixes the compilation here, and the program runs without problems
afterwards.

------- Comment #2 From Wulf Krueger (RETIRED) 2008-03-29 01:45:46 0000 -------
Thanks, Harald! Fixed in CVS.