aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/scummsys.h3
-rw-r--r--common/stdafx.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/common/scummsys.h b/common/scummsys.h
index 3e630a3fd6..5831275502 100644
--- a/common/scummsys.h
+++ b/common/scummsys.h
@@ -36,9 +36,6 @@
#if defined(_MSC_VER)
- //#pragma warning (disable: 4244)
- //#pragma warning (disable: 4101)
-
#define scumm_stricmp stricmp
#define scumm_strnicmp strnicmp
#define snprintf _snprintf
diff --git a/common/stdafx.h b/common/stdafx.h
index f1293440aa..a2f011393b 100644
--- a/common/stdafx.h
+++ b/common/stdafx.h
@@ -35,6 +35,10 @@
#elif defined(WIN32)
+#pragma once
+#pragma warning( disable : 4068 ) // turn off "unknown pragma" warning
+#pragma warning( disable : 4244 ) // turn off "conversion type" warning
+#pragma warning( disable : 4390 ) // turn oof "empty statement" warning for BS2 code
#if !defined(_WIN32_WCE)