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

Unified Diff: build/config/compiler/BUILD.gn

Issue 1390223002: Enforce WARN_UNUSED_RESULT attribute on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 5 years, 2 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
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index be61892898d76184f07b263c0ffc411503b615ee..06f8e4a296719a500aa37756ab67c5e016c01a1a 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -575,7 +575,10 @@ config("default_warnings") {
"-Qunused-arguments", # http://crbug.com/504658
"-Wno-microsoft-enum-value", # http://crbug.com/505296
"-Wno-unknown-pragmas", # http://crbug.com/505314
- "-Wno-unused-value", # http://crbug.com/505318
+
+ # Disable unused-value (crbug.com/505318) except -Wunused-result.
+ "-Wno-unused-value",
+ "-Wunused-result",
]
}
} else {
« no previous file with comments | « build/common.gypi ('k') | chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698