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

Unified Diff: remoting/host/win/BUILD.gn

Issue 2955643002: clang/win: Enable -Wmicrosoft-enum-forward-reference (Closed)
Patch Set: remove Created 3 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/config/compiler/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/BUILD.gn
diff --git a/remoting/host/win/BUILD.gn b/remoting/host/win/BUILD.gn
index c1ae49c5c2d87f1ff02ebca12527dee0448e02c6..e91354bc09b00507d2e4ab4ee96c23a55116cfbb 100644
--- a/remoting/host/win/BUILD.gn
+++ b/remoting/host/win/BUILD.gn
@@ -115,6 +115,12 @@ source_set("win") {
"//remoting/build/config:version",
]
+ if (is_clang) {
+ # TODO(thakis): Remove this once midl.exe no longer produces nonstandard
+ # C++ (see the enums in com_imported_mstscax.tlh).
+ cflags = [ "-Wno-microsoft-enum-forward-reference" ]
+ }
+
defines = [ "WEBRTC_CHROMIUM_BUILD" ]
deps = [
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698