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

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

Issue 2059143003: Disable "taking address of packed member" clang warning. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable "taking address of packed member" clang warning. 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 | « 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 ffe3ac860cbfddcd3da0c1eac3404dbae06f8268..c92e17fa4b01b01db6ba8aeb15669fc5ecaf13e5 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -1008,6 +1008,13 @@ config("default_warnings") {
# TODO(thakis): https://crbug.com/604888
"-Wno-undefined-var-template",
]
+
+ if (llvm_force_head_revision) {
+ cflags += [
+ # TODO(eugenis): Clean up, http://crbug.com/619640
+ "-Wno-address-of-packed-member",
+ ]
+ }
}
}
}
« 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