mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 23:56:16 +00:00
Add the -Wdeprecated-copy-dtor warning.
This should fix the warning triggering when using Dawn in Skia. Bug: None Change-Id: I045ebc87f9e8dbff035920fc6eaa409c2b70d0f2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/30701 Reviewed-by: John Stiles <johnstiles@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
8d248300c4
commit
18c7b0e0b1
@@ -100,6 +100,7 @@ config("dawn_internal") {
|
||||
"-Wcstring-format-directive",
|
||||
"-Wc++11-narrowing",
|
||||
"-Wdeprecated-copy",
|
||||
"-Wdeprecated-copy-dtor",
|
||||
"-Wduplicate-enum",
|
||||
"-Wextra-semi-stmt",
|
||||
"-Wimplicit-fallthrough",
|
||||
@@ -121,9 +122,6 @@ config("dawn_internal") {
|
||||
# if (myUint64 > std::numeric_limits<size_t>::max()) {...}
|
||||
cflags += [ "-Wno-tautological-type-limit-compare" ]
|
||||
|
||||
# Suppressions for warnings found in Skia that should really be fixed.
|
||||
cflags += [ "-Wno-deprecated-copy-dtor" ]
|
||||
|
||||
if (is_win) {
|
||||
cflags += [
|
||||
# clang-cl doesn't know -pedantic, pass it explicitly to the clang driver
|
||||
|
||||
Reference in New Issue
Block a user