Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Krell <jay.krell@cornell.edu>2018-06-30 09:59:26 +0300
committerGitHub <noreply@github.com>2018-06-30 09:59:26 +0300
commitcb6e1f95ee9bb8cfe27145eba14340fdbb2f1267 (patch)
treedc9c939cf958f8a850d15e049523bb2ed057dde0 /winconfig.h
parent2434117e4177f2f130d462d375666c142811a771 (diff)
Enable incompatible-pointer warnings on Windows/gcc like Unix/gcc. (#9221)
Suppress the very many Visual C++-specific warnings introduced recently by typesafe handles.
Diffstat (limited to 'winconfig.h')
-rw-r--r--winconfig.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winconfig.h b/winconfig.h
index 903edefb5e3..b6f56ca5a47 100644
--- a/winconfig.h
+++ b/winconfig.h
@@ -720,6 +720,7 @@
#pragma warning(disable:4273) // inconsistent dll linkage
#pragma warning(disable:4293) // shift count negative or too big, undefined behavior
#pragma warning(disable:4305) // truncation from 'double' to 'float'
+#pragma warning(disable:4312) // 'type cast': conversion from 'MonoNativeThreadId' to 'gpointer' of greater size
#pragma warning(disable:4389) // signed/unsigned mismatch
#pragma warning(disable:4456) // declaration of 'j' hides previous local declaration
#pragma warning(disable:4457) // declaration of 'text' hides function parameter