From c1b9ca14e7ff32d20de8796284dfea278a3e3796 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Sun, 28 Oct 2018 11:09:57 +1100 Subject: [PATCH] build: disable microsoft include warning this error is being thrown on windows due a #include inside node --- BUILD.gn | 1 + 1 file changed, 1 insertion(+) diff --git a/BUILD.gn b/BUILD.gn index 8385d5bdab2e..9e1b9081bbd3 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -403,6 +403,7 @@ static_library("electron_lib") { } if (is_win) { libs += [ "dwmapi.lib" ] + cflags = [ "-Wno-microsoft-include" ] } if (is_linux || is_win) { deps += [ "//third_party/breakpad:client" ]