from Gisle Vanem: some more #pragma's that MingW don't like

svn path=/trunk/; revision=21240
This commit is contained in:
Ulf Lamping 2007-03-28 03:56:24 +00:00
parent 9de252158e
commit 9e78e405c0
4 changed files with 5 additions and 3 deletions

View File

@ -24,8 +24,10 @@
#include <epan/crypt/wep-wpadefs.h> /* WEP_KEY_MAX_SIZE */
#ifdef _MSC_VER
/* This disables a VS warning for zero-sized arrays. All the compilers we support have that feature */
#pragma warning( disable : 4200)
#endif
#ifdef __cplusplus
extern "C" {

View File

@ -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

View File

@ -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

View File

@ -48,7 +48,7 @@
G_MODULE_EXPORT const gchar version[] = "0.0.1";
#endif
#ifdef _WIN32
#ifdef _MSC_VER
/* disable warning: "unreference local variable" */
#pragma warning(disable:4101)
#endif