diff options
-rw-r--r-- | include/m_core.h | 2 | ||||
-rw-r--r-- | include/m_extraicons.h | 2 | ||||
-rw-r--r-- | include/m_system_cpp.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/include/m_core.h b/include/m_core.h index 407a00580b..59b613d726 100644 --- a/include/m_core.h +++ b/include/m_core.h @@ -71,6 +71,8 @@ typedef UINT32 MCONTACT; #endif
#define DBVTF_VARIABLELENGTH 0x80
+#pragma warning(disable:4201)
+
typedef struct
{
BYTE type;
diff --git a/include/m_extraicons.h b/include/m_extraicons.h index 3696372d8e..e2dbbd39be 100644 --- a/include/m_extraicons.h +++ b/include/m_extraicons.h @@ -145,6 +145,8 @@ typedef struct { extern int hLangpack;
+#pragma warning(disable:4505)
+
static HANDLE ExtraIcon_Register(
const char *name, const char *description, const char *descIcon,
MIRANDAHOOK RebuildIcons,
diff --git a/include/m_system_cpp.h b/include/m_system_cpp.h index c0b324f02b..2bb6d545a1 100644 --- a/include/m_system_cpp.h +++ b/include/m_system_cpp.h @@ -79,6 +79,7 @@ public: class mir_cslock
{
CRITICAL_SECTION& cs;
+ __inline mir_cslock& operator = (const mir_cslock&) { return *this; }
public:
__inline mir_cslock(CRITICAL_SECTION& _cs) : cs(_cs) { ::EnterCriticalSection(&cs); }
@@ -92,6 +93,7 @@ class mir_cslockfull {
CRITICAL_SECTION& cs;
bool bIsLocked;
+ __inline mir_cslockfull& operator = (const mir_cslockfull&) { return *this; }
public:
__inline void lock() { bIsLocked = true; EnterCriticalSection(&cs); }
|