aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.win32
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-02-18 00:33:35 +0000
committerGerald Combs <gerald@wireshark.org>2011-02-18 00:33:35 +0000
commitcb3aa2b633ae1818891be2821794d093e4bf9ffe (patch)
treefe14224e7f8589317c5c10bda0ad3fadf229df77 /config.h.win32
parentd60527b94f5e3cd8e401b79f6046884413426133 (diff)
Disable Code Analysis warning C6011 for now. Hopefully Clang can pick
up the slack. svn path=/trunk/; revision=35994
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;