forked from osmocom/wireshark
as Gisle Vanem noted that MingW doesn't "like" the #pragmas:
change #ifdef _WIN32 -> #ifdef _MSC_VER around pragma warnings svn path=/trunk/; revision=21228
This commit is contained in:
parent
cc061b5521
commit
a66bf7f559
|
@ -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
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include "packet-windows-common.h"
|
||||
#include "packet-dcerpc-srvsvc.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef _MSC_VER
|
||||
/* disable: warning C4101: 'xy' : unreferenced local variable */
|
||||
#pragma warning(disable:4101)
|
||||
/* disable: warning C4013: 'xy' undefined; assuming extern returning int */
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef _MSC_VER
|
||||
/* disable: warning C4005: 'xx' : macro redefinition */
|
||||
#pragma warning(disable:4005)
|
||||
/* disable: warning C4013: 'initshutdown_dissect_struct_String' undefined; assuming extern returning int */
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include "packet-windows-common.h"
|
||||
#include "packet-dcerpc-wzcsvc.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef _MSC_VER
|
||||
/* disable: warning C4101: 'xy' : unreferenced local variable */
|
||||
#pragma warning(disable:4101)
|
||||
#endif
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
#define PSNAME "RRLP"
|
||||
#define PFNAME "rrlp"
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef _MSC_VER
|
||||
/* disable: "warning C4146: unary minus operator applied to unsigned type, result still unsigned" */
|
||||
#pragma warning(disable:4146)
|
||||
#endif
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue