Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Unified Diff: gpu/gles2_conform_support/BUILD.gn

Issue 2085043003: gles2_conform: Suppress warnings on Win/GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/gles2_conform_support/BUILD.gn
diff --git a/gpu/gles2_conform_support/BUILD.gn b/gpu/gles2_conform_support/BUILD.gn
index 65dcb03b1c30c43d9f42634f8428345dddf1aeab..bb5ea2a9412698f120aa503e4604f8b2a2735894 100644
--- a/gpu/gles2_conform_support/BUILD.gn
+++ b/gpu/gles2_conform_support/BUILD.gn
@@ -147,9 +147,20 @@ if (internal_gles2_conform_tests) {
]
configs -= [ "//build/config/win:nominmax" ]
cflags = [
+ "/wd4013", # undefined function, assuming extern returning int
"/wd4018", # signed/unsigned mismatch
+ "/wd4054", # type cast from function pointer to data pointer
+ "/wd4057", # non-constant aggregate initializer
"/wd4101", # unreferenced local variable
+ "/wd4189", # local variable is initialized but not referenced
+ "/wd4204", # non-constant aggregate initializer
+ "/wd4245", # conversion between int/uint
+ "/wd4389", # signed/unsigned comparison
+ "/wd4701", # potentially uninitialized variable used
+ "/wd4703", # potentially uninitialized pointer variable used
+ "/wd4706", # assignment within conditional expression
"/wd4715", # not all control paths return a value
+ "/wd4716", # function must return a value
"/wd4267", # size_t/unsigned int conversion
]
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698