http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=21262
User: sahlberg
Date: 2007/03/29 02:22 AM
Log:
regenerate the dissectors with an even newer patched version of pidl to add two more pragmas
you need this patch ontop of svn pidl to regenerate the files :
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} .= "#pragma warning(disable:4018)\n";
+ $res{headers} .= "#pragma warning(disable:4101)\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";
Directory: /trunk/epan/dissectors/
Changes Path Action
+2 -0 packet-dcerpc-atsvc.c Modified
+2 -0 packet-dcerpc-dfs.c Modified
+2 -0 packet-dcerpc-efs.c Modified
+2 -0 packet-dcerpc-eventlog.c Modified
+2 -0 packet-dcerpc-winreg.c Modified