summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/tkWinPort.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/tkWinPort.h b/win/tkWinPort.h
index 9829af5..1ef90ff 100644
--- a/win/tkWinPort.h
+++ b/win/tkWinPort.h
@@ -91,11 +91,15 @@
* See ticket [916c1095438eae56]: GetVersionExW triggers warnings
*/
#if defined(_MSC_VER)
+# pragma warning(disable:4146)
# pragma warning(disable:4267)
# pragma warning(disable:4244)
# pragma warning(disable:4311)
# pragma warning(disable:4312)
# pragma warning(disable:4996)
+#if !defined(_WIN64)
+# pragma warning(disable:4305)
+#endif
#endif
/*