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

Unified Diff: remoting/remoting_host_win.gypi

Issue 1216413002: Fix remaining warnings for -Wmissing-braces and enable on win clang. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Less nesting Created 5 years, 5 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 | « components/policy/core/common/policy_loader_win.cc ('k') | third_party/cld_2/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/remoting_host_win.gypi
diff --git a/remoting/remoting_host_win.gypi b/remoting/remoting_host_win.gypi
index 8a796a0b20e75d66f1e57723ec5ed03c5414a47c..b6213260b476890651a4336008634956e4c06382 100644
--- a/remoting/remoting_host_win.gypi
+++ b/remoting/remoting_host_win.gypi
@@ -89,6 +89,12 @@
'<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib.dlldata.c',
'<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib_p.c',
],
+ 'variables': {
+ 'clang_warning_flags': [
+ # MIDL generated code has a habit of omitting optional braces.
+ '-Wno-missing-braces',
+ ],
+ },
}, # end of target 'remoting_lib_ps'
# Regenerates 'chromoting_lib.rc' (used to embed 'chromoting_lib.tlb'
« no previous file with comments | « components/policy/core/common/policy_loader_win.cc ('k') | third_party/cld_2/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698