summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKUDr <kudr@openttd.org>2007-02-04 11:30:22 +0000
committerKUDr <kudr@openttd.org>2007-02-04 11:30:22 +0000
commit62486a73ed24e685423706ba8a8573eee47908db (patch)
tree7f1aff5b371f0b781c23a0b39137ac95454270a0
parentec058624adce5a9d95171d38f7aef9eded422c26 (diff)
downloadopenttd-62486a73ed24e685423706ba8a8573eee47908db.tar.xz
(svn r8574) -Fix: Silence VC2003 warning: "compiler limit : terminating debug information emission for enum 'StringIdEnum'"
-rw-r--r--src/stdafx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index efa91381a..84478ed08 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -120,6 +120,8 @@
# if _MSC_VER >= 1400 // MSVC 2005 safety checks
# pragma warning(disable: 4996) // 'strdup' was declared deprecated
# define _CRT_SECURE_NO_DEPRECATE // all deprecated 'unsafe string functions
+# else /* _MSC_VER >= 1400 ( <1400 for MSVC2003) */
+# pragma warning(disable: 4292) // compiler limit : terminating debug information emission for enum 'StringIdEnum' with member 'STR_801D_COAL_CAR'
# endif /* _MSC_VER >= 1400 */
# include <malloc.h> // alloca()