From c5f2fe4c787379b0f1e1a400fbf6ddc8dbfdba96 Mon Sep 17 00:00:00 2001 From: Antonio Maiorano Date: Mon, 20 Dec 2021 21:39:35 +0000 Subject: [PATCH] CMake: fix clang-cl build Add two more warnings to ignore. These show up when including glslang headers in samples/main.cc. Change-Id: Icdb9fa9914bfe6fdafb4727ed8bf774fe9b930bf Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/73660 Reviewed-by: James Price Kokoro: Kokoro Commit-Queue: Antonio Maiorano --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fafeef3bbd..9d19d48e8f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -374,6 +374,8 @@ function(tint_default_compile_options TARGET) -Wno-global-constructors -Wno-zero-as-null-pointer-constant -Wno-shorten-64-to-32 + -Wno-shadow-field-in-constructor + -Wno-reserved-id-macro ) endif() endif()