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

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

Issue 315323002: Disable Warning 4702 for the PGO builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update the GN build file. Created 6 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 | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 4520f3aef2056534e5cca154ca5d2a16d7c22420..614d53a300cabe0ed3abfbd8bbd2b52e48483cb8 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -767,6 +767,7 @@ config("optimize_max") {
cflags += [
"/Ot", # Favor speed over size.
"/GL", # Whole program optimization.
+ "/wd4702", # Disable warning C4702 "unreachable code".
brettw 2014/06/11 16:33:09 Can you copy the comment from the .gypi file to ab
Sébastien Marchand 2014/06/11 17:24:56 Done.
]
} else {
cflags += [
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698