diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2018-03-10 01:12:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-10 01:12:14 +0100 |
commit | 57b215fc758737f55a7062cab277154c5b9626d4 (patch) | |
tree | 937bda4ff294551f0eb17e84e01cc99aa73f8036 /src/vm | |
parent | c3aef92c137658cebb111da6c856ab653316fb0a (diff) | |
download | coreclr-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')
-rw-r--r-- | src/vm/gcenv.ee.cpp | 4 |
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); |