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

Unified Diff: build/config/compiler/BUILD.gn

Issue 1309263004: Add /Zc:sizedDealloc- to work around VS 2015 bug (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix sloppy typo. Created 5 years, 4 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/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index e3cd91d0a23a490f4994b7221053b2859533b95e..d1703e23125ac9c2d6d6622e42e13b2f8d697ef3 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -119,6 +119,11 @@ config("compiler") {
"/bigobj", # Some of our files are bigger than the regular limits.
]
+ if (visual_studio_version == "2015") {
+ # Work around crbug.com/526851, bug in VS 2015 RTM compiler.
+ cflags += [ "/Zc:sizedDealloc-" ]
+ }
+
# Force C/C++ mode for the given GN detected file type. This is necessary
# for precompiled headers where the same source file is compiled in both
# modes.
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698