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

Unified Diff: build/common.gypi

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 | « no previous file | build/config/compiler/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 5c1914ce900746f679780caab7a475e867ea3c7d..29f5a46477e1245e93439666cc1529f38ea5eb23 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -3037,6 +3037,10 @@
# TODO: Enable on Windows too, http://crbug.com/404525
'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']},
}],
+ ['"<!(python <(DEPTH)/tools/clang/scripts/update.py --print-revision)"!="270823-1"', {
+ # TODO(eugenis): https://crbug.com/619640
+ 'variables': { 'clang_warning_flags': ['-Wno-address-of-packed-member']},
+ }],
['chromium_code==0', {
'variables': {
'clang_warning_flags': [
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698