diff options
author | Jose <jose@zeroc.com> | 2017-07-12 13:51:42 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-07-12 13:51:42 +0200 |
commit | 981ba75dafe0e95931b1a20a34cf3d08432dbd1f (patch) | |
tree | 00a90c3922a5b19acfcbc41320ee57242f780add /python/modules/IcePy/Connection.cpp | |
parent | IceGridGUI - Fix fallback class name (diff) | |
download | ice-981ba75dafe0e95931b1a20a34cf3d08432dbd1f.tar.bz2 ice-981ba75dafe0e95931b1a20a34cf3d08432dbd1f.tar.xz ice-981ba75dafe0e95931b1a20a34cf3d08432dbd1f.zip |
ICE-8279 - Operation.cpp/Connection.cpp warnings when building PyPI wheel on Windows
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> |