diff --git a/src/common/BUILD.gn b/src/common/BUILD.gn index 67370d115f..da0c371c4b 100644 --- a/src/common/BUILD.gn +++ b/src/common/BUILD.gn @@ -112,10 +112,14 @@ config("dawn_internal") { cflags += [ "-pedantic" ] } + # On Windows allow the use of __uuidof() + if (is_win) { + cflags += [ "-Wno-language-extension-token" ] + } + # Flags for -pedantic warnings that haven't been fixed yet. cflags += [ "-Wno-gnu-zero-variadic-macro-arguments", - "-Wno-language-extension-token", "-Wno-microsoft-enum-value", ] }