diff options
author | KUDr <kudr@openttd.org> | 2007-06-23 09:04:07 +0000 |
---|---|---|
committer | KUDr <kudr@openttd.org> | 2007-06-23 09:04:07 +0000 |
commit | 6ced6f8f5ff180dc12d5af08c7169a9a4e15f5fe (patch) | |
tree | 6e07f39a358b16f5d23e70106a87f2fb7db35526 | |
parent | 2d591ec1afccb58db9ecde1d9acd951470063ea8 (diff) | |
download | openttd-6ced6f8f5ff180dc12d5af08c7169a9a4e15f5fe.tar.xz |
(svn r10292) -Fix: suppress VC 7.1 warning: "\src\texteff.cpp(251) : warning C4258: 'y' : definition from the for loop is ignored; the definition from the enclosing scope is used" which prevents compilation on MSVC 2003
-rw-r--r-- | src/stdafx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdafx.h b/src/stdafx.h index 7d19e5896..12c4fe7ab 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -154,6 +154,7 @@ # 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: 4288) // nonstandard extension used : 'y' : loop control variable declared in the for-loop is used outside the for-loop scope; it conflicts with the declaration in the outer scope # pragma warning(disable: 4292) // compiler limit : terminating debug information emission for enum 'StringIdEnum' with member 'STR_801D_COAL_CAR' # endif /* _MSC_VER >= 1400 */ |