mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-24 09:58:46 +00:00
Changed: #825 Remove all warning when compiling Ryzom
This commit is contained in:
parent
5ae5ab851b
commit
cfcb8367a1
3 changed files with 7 additions and 2 deletions
|
@ -174,7 +174,9 @@ public:
|
||||||
_Mutex.enter();
|
_Mutex.enter();
|
||||||
|
|
||||||
if(NL3D_BlockMemoryAssertOnPurge)
|
if(NL3D_BlockMemoryAssertOnPurge)
|
||||||
|
{
|
||||||
nlassert(_NAllocatedElts==0);
|
nlassert(_NAllocatedElts==0);
|
||||||
|
}
|
||||||
|
|
||||||
while(_Blocks.begin()!=_Blocks.end())
|
while(_Blocks.begin()!=_Blocks.end())
|
||||||
{
|
{
|
||||||
|
|
|
@ -283,11 +283,11 @@ typedef uint64_t uint64;
|
||||||
typedef int sint; // at least 32bits (depend of processor)
|
typedef int sint; // at least 32bits (depend of processor)
|
||||||
typedef unsigned int uint; // at least 32bits (depend of processor)
|
typedef unsigned int uint; // at least 32bits (depend of processor)
|
||||||
|
|
||||||
#if __SIZEOF_LONG__ == 8
|
#ifdef _LP64
|
||||||
# define NL_I64 "l"
|
# define NL_I64 "l"
|
||||||
#else
|
#else
|
||||||
# define NL_I64 "ll"
|
# define NL_I64 "ll"
|
||||||
#endif // __SIZEOF_LONG__ == 8
|
#endif // _LP64
|
||||||
|
|
||||||
#endif // NL_OS_UNIX
|
#endif // NL_OS_UNIX
|
||||||
|
|
||||||
|
@ -307,6 +307,8 @@ typedef unsigned int uint; // at least 32bits (depend of processor)
|
||||||
# define CHashSet std::tr1::unordered_set
|
# define CHashSet std::tr1::unordered_set
|
||||||
# define CHashMultiMap std::tr1::unordered_multimap
|
# define CHashMultiMap std::tr1::unordered_multimap
|
||||||
#elif defined(NL_COMP_VC7) || defined(NL_COMP_VC71) || defined(NL_COMP_VC8) || defined(NL_COMP_VC9) // VC7 through 9
|
#elif defined(NL_COMP_VC7) || defined(NL_COMP_VC71) || defined(NL_COMP_VC8) || defined(NL_COMP_VC9) // VC7 through 9
|
||||||
|
# include <hash_map>
|
||||||
|
# include <hash_set>
|
||||||
# define CHashMap stdext::hash_map
|
# define CHashMap stdext::hash_map
|
||||||
# define CHashSet stdext::hash_set
|
# define CHashSet stdext::hash_set
|
||||||
# define CHashMultiMap stdext::hash_multimap
|
# define CHashMultiMap stdext::hash_multimap
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
#include <exception>
|
#include <exception>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <deque>
|
#include <deque>
|
||||||
|
#include <limits>
|
||||||
|
|
||||||
|
|
||||||
#ifdef NL_DEBUG
|
#ifdef NL_DEBUG
|
||||||
|
|
Loading…
Reference in a new issue