diff options
Diffstat (limited to 'python/modules/IcePy/Connection.cpp')
-rw-r--r-- | python/modules/IcePy/Connection.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/python/modules/IcePy/Connection.cpp b/python/modules/IcePy/Connection.cpp index af48ede2e53..2a0c5338bb1 100644 --- a/python/modules/IcePy/Connection.cpp +++ b/python/modules/IcePy/Connection.cpp @@ -31,6 +31,11 @@ namespace // P = sizeof(void*), L = sizeof(long) template<int P, int L> struct Hasher; +#ifndef _WIN64 +// +// COMPILERFIX: With Windows 64 the templates bellow will produce trucation warnings, +// we ifdef them out as they are never used with Windows 64. +// template<> struct Hasher<4, 4> { @@ -48,6 +53,7 @@ struct Hasher<8, 8> return reinterpret_cast<long>(ptr); } }; +#endif template<> struct Hasher<8, 4> |