aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-07-31 18:35:01 +0000
committerPaweł Kołodziejski2003-07-31 18:35:01 +0000
commite5e117006aa762cb485b493f505fe9e742536cea (patch)
tree8869e373ec420250c3e1f1eea6604f4a3cdf4591 /common
parentbb8d0361e7bc0e2208f9cd309c1954228c84edc8 (diff)
downloadscummvm-rg350-e5e117006aa762cb485b493f505fe9e742536cea.tar.gz
scummvm-rg350-e5e117006aa762cb485b493f505fe9e742536cea.tar.bz2
scummvm-rg350-e5e117006aa762cb485b493f505fe9e742536cea.zip
back disable warnings into stdafx.h, vc6 is lack of warnings support
svn-id: r9337
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)