The "#pragma warning()" statements are MSVC specific. So
embed them inside "#ifdef _MSC_VER".
Patch attached.
--gv
diff -u3 -Hb -r SVN-Latest\asn1\rrlp\packet-rrlp-template.c .\asn1\rrlp\packet-rrlp-template.c
--- SVN-Latest\asn1\rrlp\packet-rrlp-template.c Tue Mar 27 17:18:46 2007
+++ .\asn1\rrlp\packet-rrlp-template.c Tue Mar 27 17:54:27 2007
@@ -49,7 +49,7 @@
-#ifdef _WIN32
+#ifdef _MSC_VER
/* disable: "warning C4146: unary minus operator applied to unsigned type, result still unsigned" */
#pragma warning(disable:4146)
#endif
diff -u3 -Hb -r SVN-Latest\epan\dissectors\packet-dcerpc-dfs.c .\epan\dissectors\packet-dcerpc-dfs.c
--- SVN-Latest\epan\dissectors\packet-dcerpc-dfs.c Tue Mar 27 17:18:50 2007
+++ .\epan\dissectors\packet-dcerpc-dfs.c Tue Mar 27 17:44:53 2007
@@ -22,7 +22,7 @@
#include "packet-windows-common.h"
#include "packet-dcerpc-dfs.h"
-#ifdef _WIN32
+#ifdef _MSC_VER
/* disable: warning C4101: 'xy' : unreferenced local variable */
#pragma warning(disable:4101)
#endif
diff -u3 -Hb -r SVN-Latest\epan\dissectors\packet-dcerpc-eventlog.c .\epan\dissectors\packet-dcerpc-eventlog.c
--- SVN-Latest\epan\dissectors\packet-dcerpc-eventlog.c Tue Mar 27 17:18:52 2007
+++ .\epan\dissectors\packet-dcerpc-eventlog.c Tue Mar 27 17:45:04 2007
@@ -22,7 +22,7 @@
#include "packet-windows-common.h"
#include "packet-dcerpc-eventlog.h"
-#ifdef _WIN32
+#ifdef _MSC_VER
/* disable: warning C4018: '<' : signed/unsigned mismatch */
#pragma warning(disable:4018)
#endif
diff -u3 -Hb -r SVN-Latest\epan\dissectors\packet-megaco.c .\epan\dissectors\packet-megaco.c
--- SVN-Latest\epan\dissectors\packet-megaco.c Tue Mar 27 17:18:52 2007
+++ .\epan\dissectors\packet-megaco.c Tue Mar 27 17:53:27 2007
@@ -67,7 +67,7 @@
#define PORT_MEGACO_TXT 2944
#define PORT_MEGACO_BIN 2945
-#ifdef _WIN32
+#ifdef _MSC_VER
/* disable: warning C4013: 'xy' undefined; assuming extern returning int */
#pragma warning(disable:4013)
#endif
diff -u3 -Hb -r SVN-Latest\epan\dissectors\packet-user_encap.c .\epan\dissectors\packet-user_encap.c
--- SVN-Latest\epan\dissectors\packet-user_encap.c Tue Mar 27 17:18:48 2007
+++ .\epan\dissectors\packet-user_encap.c Tue Mar 27 17:54:59 2007
@@ -36,7 +36,7 @@
#include <epan/uat.h>
#include <epan/emem.h>
-#ifdef _WIN32
+#ifdef _MSC_VER
/* disable: warning C4090: 'XY' : different 'const' qualifiers */
#pragma warning(disable:4090)
#endif