1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-20 17:17:13 +02:00

Changes required to compile on x64 and against extra compiler warnings.

This commit is contained in:
Sandu Liviu Catalin
2015-11-01 05:36:03 +02:00
parent b42bc2930c
commit 2409a896df
40 changed files with 222 additions and 51 deletions

View File

@ -1243,6 +1243,7 @@ template < class T > void GlobalFilter< T >::Clear(SQInt32 header) noexcept
// Now it's safe to reset the filter
m_Filter.reset();
}
SQMOD_UNUSED_VAR(header);
}
// ------------------------------------------------------------------------------------------------
@ -1264,6 +1265,7 @@ template < class T > void GlobalFilter< T >::Flip(SQInt32 header) noexcept
// Hook from the newly filtered entities
Hook();
}
SQMOD_UNUSED_VAR(header);
}
// ------------------------------------------------------------------------------------------------

View File

@ -1257,6 +1257,7 @@ template < class T > void LocalFilter< T >::Clear(SQInt32 header) noexcept
// Now it's safe to reset the filter
m_Filter.reset();
}
SQMOD_UNUSED_VAR(header);
}
// ------------------------------------------------------------------------------------------------
@ -1278,6 +1279,7 @@ template < class T > void LocalFilter< T >::Flip(SQInt32 header) noexcept
// Hook from the newly filtered entities
Hook();
}
SQMOD_UNUSED_VAR(header);
}
// ------------------------------------------------------------------------------------------------

View File

@ -1,5 +1,6 @@
// ------------------------------------------------------------------------------------------------
#include "Event/Shared.hpp"
#include "Config.hpp"
#include "Register.hpp"
// ------------------------------------------------------------------------------------------------
@ -314,6 +315,7 @@ bool CanBeInversed(SQInt32 type) noexcept
// ================================================================================================
bool Register_Event(HSQUIRRELVM vm)
{
SQMOD_UNUSED_VAR(vm);
return true;
}