X-Moto

Tasklist

FS#628 - gcc-4.4 compilation failure

Attached to Project: X-Moto
Opened by Anonymous Submitter - Sunday, 05 April 2009, 01:12 GMT
Task Type Bug Report
Category General
Status Unconfirmed
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version svn
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

xmoto_gcc44.patch

Index: src/helpers/Log.cpp
===================================================================
--- src/helpers/Log.cpp (revision 2798)
+++ src/helpers/Log.cpp (working copy)
@@ -23,6 +23,7 @@
#include "../VFileIO.h"
#include "assert.h"
#include <stdarg.h>
+#include <cstdio>

bool Logger::m_isInitialized = false;
bool Logger::m_activ = true;
Index: src/helpers/Text.cpp
===================================================================
--- src/helpers/Text.cpp (revision 2798)
+++ src/helpers/Text.cpp (working copy)
@@ -19,6 +19,7 @@
=============================================================================*/

#include "Text.h"
+#include <cstdio>

std::string txtToLower(const std::string& i_str) {
std::string v_res;
Index: src/XMArgs.cpp
===================================================================
--- src/XMArgs.cpp (revision 2798)
+++ src/XMArgs.cpp (working copy)
@@ -24,6 +24,7 @@
#include "VFileIO.h"
#include <sstream>
#include <stdlib.h>
+#include <cstdio>

XMArguments::XMArguments() {
m_opt_pack = false;
This task depends upon

Loading...