summaryrefslogtreecommitdiff
path: root/src/stdafx.h
diff options
context:
space:
mode:
authorKUDr <kudr@openttd.org>2007-07-04 02:37:48 +0000
committerKUDr <kudr@openttd.org>2007-07-04 02:37:48 +0000
commit255389a963ea0be8e302651c1b0613b4d828029f (patch)
tree8c5d49f61f2819f093a64453298d8a7ac31691e7 /src/stdafx.h
parent1d5b84d808c309f7341ae471dd1a39d0eae57cfa (diff)
downloadopenttd-255389a963ea0be8e302651c1b0613b4d828029f.tar.xz
(svn r10428) -Fix: some more VC code analyzer warnings disabled
Diffstat (limited to 'src/stdafx.h')
-rw-r--r--src/stdafx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index b17d54712..02a7b32bc 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -155,6 +155,10 @@
# define _CRT_SECURE_NO_DEPRECATE // all deprecated 'unsafe string functions
# pragma warning(disable: 6308) // code analyzer: 'realloc' might return null pointer: assigning null pointer to 't_ptr', which is passed as an argument to 'realloc', will cause the original memory block to be leaked
# pragma warning(disable: 6011) // code analyzer: Dereferencing NULL pointer 'pfGetAddrInfo': Lines: 995, 996, 998, 999, 1001
+# pragma warning(disable: 6326) // code analyzer: potential comparison of a constant with another constant
+# pragma warning(disable: 6031) // code analyzer: Return value ignored: 'ReadFile'
+# pragma warning(disable: 6255) // code analyzer: _alloca indicates failure by raising a stack overflow exception. Consider using _malloca instead
+# pragma warning(disable: 6246) // code analyzer: Local declaration of 'statspec' hides declaration of the same name in outer scope. For additional information, see previous declaration at ...
# 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'