diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-29 01:38:59 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-29 01:38:59 +0000 |
commit | 603936357d442701fe32541e6b6fec07e0d94c70 (patch) | |
tree | 54e53e6151aae03b35215d669207fdb4f3ec4420 /epan/dissectors/packet-dcerpc-atsvc.c | |
parent | 4297f5d9608827f851a1900bb8b1990d1d8e380f (diff) |
regenerate these dissectors using a patched pidl to add some extra pragmas to keep ms compilers happy
the pidl patch required :
Index: lib/Parse/Pidl/Wireshark/NDR.pm
===================================================================
--- lib/Parse/Pidl/Wireshark/NDR.pm (revision 22005)
+++ lib/Parse/Pidl/Wireshark/NDR.pm (working copy)
@@ -916,6 +916,14 @@
$res{headers} .= "#ifdef HAVE_CONFIG_H\n";
$res{headers} .= "#include \"config.h\"\n";
$res{headers} .= "#endif\n\n";
+
+ $res{headers} .= "#ifdef _MSC_VER\n";
+ $res{headers} .= "#pragma warning(disable:4005)\n";
+ $res{headers} .= "#pragma warning(disable:4013)\n";
+ $res{headers} .= "#endif\n\n";
+
+
+
$res{headers} .= "#include <glib.h>\n";
$res{headers} .= "#include <string.h>\n";
$res{headers} .= "#include <epan/packet.h>\n\n";
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21260 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dcerpc-atsvc.c')
-rw-r--r-- | epan/dissectors/packet-dcerpc-atsvc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dcerpc-atsvc.c b/epan/dissectors/packet-dcerpc-atsvc.c index d5098da05a..5c86415607 100644 --- a/epan/dissectors/packet-dcerpc-atsvc.c +++ b/epan/dissectors/packet-dcerpc-atsvc.c @@ -13,6 +13,11 @@ #include "config.h" #endif +#ifdef _MSC_VER +#pragma warning(disable:4005) +#pragma warning(disable:4013) +#endif + #include <glib.h> #include <string.h> #include <epan/packet.h> |