aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gn/BUILD.gn3
1 files changed, 3 insertions, 0 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index e1cca9288d..7be1617d23 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -44,6 +44,9 @@ config("default") {
"/WX", # Treat warnings as errors.
"/utf-8", # Set Source and Executable character sets to UTF-8.
]
+ if (is_clang) {
+ cflags += [ "-fms-compatibility-version=19" ] # 2015
+ }
defines += [
"_CRT_SECURE_NO_WARNINGS", # Disables warnings about sscanf().
"_HAS_EXCEPTIONS=0", # Disables exceptions in MSVC STL.