mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-15 16:16:08 +00:00
Fix more compilation warnings.
Add -Wconditional-uninitialized -Wc++11-narrowing. Bug: chromium:1064305 Change-Id: I1c1503cafaa2e58e990fc18998200af1f2c00d06 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/19341 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
5b7292c8f8
commit
4fbd14badb
@@ -97,6 +97,8 @@ config("dawn_internal") {
|
||||
"-Wcstring-format-directive",
|
||||
"-Wtautological-unsigned-zero-compare",
|
||||
"-Wreturn-std-move-in-c++11",
|
||||
"-Wconditional-uninitialized",
|
||||
"-Wc++11-narrowing",
|
||||
|
||||
# Turn on the following flag after removing the empty statement in
|
||||
# third_party/glm/glm/simd/common.h:106
|
||||
|
||||
Reference in New Issue
Block a user