forked from osmocom/wireshark
from Gisle Vanem: some more #pragma's that MingW don't like
svn path=/trunk/; revision=21240
This commit is contained in:
parent
9de252158e
commit
9e78e405c0
|
@ -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" {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue