summaryrefslogtreecommitdiff
path: root/src/vm/gcenv.ee.cpp
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2018-03-10 01:12:14 +0100
committerGitHub <noreply@github.com>2018-03-10 01:12:14 +0100
commit57b215fc758737f55a7062cab277154c5b9626d4 (patch)
tree937bda4ff294551f0eb17e84e01cc99aa73f8036 /src/vm/gcenv.ee.cpp
parentc3aef92c137658cebb111da6c856ab653316fb0a (diff)
downloadcoreclr-57b215fc758737f55a7062cab277154c5b9626d4.tar.gz
coreclr-57b215fc758737f55a7062cab277154c5b9626d4.tar.bz2
coreclr-57b215fc758737f55a7062cab277154c5b9626d4.zip
Fix build with Clang 6.0 and enable build with Clang 5.0 (#16855)
* Fix build with Clang 6.0 * Add support for clang 5.0 too
Diffstat (limited to 'src/vm/gcenv.ee.cpp')
-rw-r--r--src/vm/gcenv.ee.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/gcenv.ee.cpp b/src/vm/gcenv.ee.cpp
index 8e2594be63..0759768126 100644
--- a/src/vm/gcenv.ee.cpp
+++ b/src/vm/gcenv.ee.cpp
@@ -15,8 +15,8 @@ void GCToEEInterface::SuspendEE(SUSPEND_REASON reason)
{
WRAPPER_NO_CONTRACT;
- static_assert_no_msg(SUSPEND_FOR_GC == ThreadSuspend::SUSPEND_FOR_GC);
- static_assert_no_msg(SUSPEND_FOR_GC_PREP == ThreadSuspend::SUSPEND_FOR_GC_PREP);
+ static_assert_no_msg(SUSPEND_FOR_GC == (int)ThreadSuspend::SUSPEND_FOR_GC);
+ static_assert_no_msg(SUSPEND_FOR_GC_PREP == (int)ThreadSuspend::SUSPEND_FOR_GC_PREP);
_ASSERTE(reason == SUSPEND_FOR_GC || reason == SUSPEND_FOR_GC_PREP);