Mercurial > hg > openttd
changeset 5935:643bdcf36181 draft
(svn r8574) -Fix: Silence VC2003 warning: "compiler limit : terminating debug information emission for enum 'StringIdEnum'"
author | KUDr <KUDr@openttd.org> |
---|---|
date | Sun, 04 Feb 2007 11:30:22 +0000 |
parents | 3af431a1ae93 |
children | 4bf190a1dab7 |
files | src/stdafx.h |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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()