aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.win32
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-02-18 00:33:35 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-02-18 00:33:35 +0000
commitf5735fafde6ccb2cef951153dbacbd62257b8808 (patch)
treefe14224e7f8589317c5c10bda0ad3fadf229df77 /config.h.win32
parent30d1c94979a67c089f8469f51950e82d02ea1582 (diff)
Disable Code Analysis warning C6011 for now. Hopefully Clang can pick
up the slack. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35994 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'config.h.win32')
-rw-r--r--config.h.win326
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.win32 b/config.h.win32
index bfed02b776..9eda473a17 100644
--- a/config.h.win32
+++ b/config.h.win32
@@ -263,4 +263,10 @@
#error Your MSVC_VARIANT setting in config.nmake doesn't match the MS compiler version!
#endif
+/* Disable Code Analysis warnings that result in too many false positives. */
+/* http://msdn.microsoft.com/en-US/library/zyhb0b82.aspx */
+#if _MSC_VER >= 1400
+#pragma warning ( disable : 6011 )
+#endif
+
typedef int ssize_t;