gcc 4.3 fixes from [email protected] http://gcc.gnu.org/gcc-4.3/porting_to.html
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "LuaReference.h"
|
||||
#include "RageUtil.h"
|
||||
#include <memory>
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "RageFile.h"
|
||||
#include "RageLog.h"
|
||||
#include "RageUtil.h"
|
||||
#include <memory>
|
||||
|
||||
#if defined(_WINDOWS) || defined(_XBOX)
|
||||
#include "zlib/zlib.h"
|
||||
|
||||
@@ -127,7 +127,7 @@ static void MovePref( int &iSel, bool bToSel, const ConfOption *pConfOption )
|
||||
}
|
||||
|
||||
template <>
|
||||
static void MovePref<bool>( int &iSel, bool bToSel, const ConfOption *pConfOption )
|
||||
void MovePref<bool>( int &iSel, bool bToSel, const ConfOption *pConfOption )
|
||||
{
|
||||
IPreference *pPref = IPreference::GetPreferenceByName( pConfOption->m_sPrefName );
|
||||
ASSERT_M( pPref != NULL, pConfOption->m_sPrefName );
|
||||
|
||||
@@ -100,12 +100,11 @@ typedef char* PSTR;
|
||||
#include <malloc.h> // _alloca
|
||||
#endif
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#include <cstdio>
|
||||
#include <cctype>
|
||||
#include <cstdlib>
|
||||
#include <cstdarg>
|
||||
#include <cstring>
|
||||
|
||||
// a very shorthand way of applying the fix for KB problem Q172398
|
||||
// (basic_string assignment bug)
|
||||
|
||||
Reference in New Issue
Block a user