FS#14665 - XMoto doesn't build due to new GCC version
Attached to Project:
Arch Linux
Opened by Sven-Hendrik Haase (Svenstaro) - Sunday, 10 May 2009, 14:40 GMT
Last edited by Ronald van Haren (pressh) - Thursday, 14 May 2009, 12:49 GMT
Opened by Sven-Hendrik Haase (Svenstaro) - Sunday, 10 May 2009, 14:40 GMT
Last edited by Ronald van Haren (pressh) - Thursday, 14 May 2009, 12:49 GMT
|
Details
Description:
The XMoto 0.5.1-1 package currently in [extra] fails to build do to the more recent version of GCC (starting from GCC 4.3). While this is actually the project's fault, the package in [extra] should be patched until the XMoto project corrects this problem themselves. The Scorched3D package implements a GCC 4.3 patch that could be used as a guideline. The XMoto team has not yet addressed this problem in their SVN. Additional info: The errors produced when trying to compile with GCC 4.4: XMArgs.cpp: In member function ‘void XMArguments::parse(int, char**)’: XMArgs.cpp:121: error: ‘sscanf’ was not declared in this scope XMArgs.cpp: In member function ‘void XMArguments::help(const std::string&)’: XMArgs.cpp:572: error: ‘printf’ was not declared in this scope |
This task depends upon
Closed by Ronald van Haren (pressh)
Thursday, 14 May 2009, 12:49 GMT
Reason for closing: Fixed
Additional comments about closing: 5.0.1-2
Thursday, 14 May 2009, 12:49 GMT
Reason for closing: Fixed
Additional comments about closing: 5.0.1-2
#include <stdio.h>
#include <cstdio>