From 2ee5e65a2329451225b83cfa7ca86d1498086c99 Mon Sep 17 00:00:00 2001 From: Vardhan Thigle Date: Thu, 31 Jan 2019 16:31:28 +0530 Subject: [PATCH] Ignoring implicit-fallthrough check for UnwindRustSgxSnprintf.c --- libunwind/README_RUST_SGX.md | 2 +- libunwind/src/UnwindRustSgxSnprintf.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libunwind/README_RUST_SGX.md b/libunwind/README_RUST_SGX.md index bdf849aac524e5..80020b2f3bb588 100644 --- a/libunwind/README_RUST_SGX.md +++ b/libunwind/README_RUST_SGX.md @@ -15,7 +15,7 @@ Initial Fork has been made from 5.0 release of llvm (commit: 6a075b6de4) * `mkdir build` * `cd build` * `cmake -DCMAKE_BUILD_TYPE="RELEASE" -DRUST_SGX=1 -G "Unix Makefiles" -DLLVM_ENABLE_WARNINGS=1 -DLIBUNWIND_ENABLE_WERROR=1 -DLIBUNWIND_ENABLE_PEDANTIC=0 -DLLVM_PATH= ` -* `-DCMAKE_BUILD_TYPE="RELEASE"` could be removed to enable debug logs of libunwind. +* `"DEBUG"` could be used instead of `"RELEASE"` to enable debug logs of libunwind. ### Build: * `make unwind_static` diff --git a/libunwind/src/UnwindRustSgxSnprintf.c b/libunwind/src/UnwindRustSgxSnprintf.c index f2f1a13a453969..a3246b02e2c29f 100644 --- a/libunwind/src/UnwindRustSgxSnprintf.c +++ b/libunwind/src/UnwindRustSgxSnprintf.c @@ -10,6 +10,7 @@ #pragma GCC diagnostic ignored "-Wfloat-conversion" #pragma GCC diagnostic ignored "-Wsign-conversion" #pragma GCC diagnostic ignored "-Wstrict-overflow" +#pragma GCC diagnostic ignored "-Wimplicit-fallthrough" /************************************************************** * Original: