summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-05-31 07:32:50 (GMT)
committerKevin Smith <kevin.smith@isode.com>2016-06-02 11:28:56 (GMT)
commit33ffcd9bf5bc9806d0b404aae2aaf6d67a2945db (patch)
tree8f5e0ce05b63981167ebcff4932494a83b8a1304 /BuildTools
parent2889e10d0d9ecb0339ec03d71416718580433092 (diff)
downloadswift-33ffcd9bf5bc9806d0b404aae2aaf6d67a2945db.zip
swift-33ffcd9bf5bc9806d0b404aae2aaf6d67a2945db.tar.bz2
Ignore warning 4503 when building with MS Visual Studio compiler
This warning is generated when symbol names exceed a character limit. This can happen fast with layered C++ templates. Test-Information: Tested with Visual Studio 2013 that the warning is not issued anymore when building BoostConnectionTest. Change-Id: I21c1e37ed6306f2da92dc7f78a1c16f26db0daf2
Diffstat (limited to 'BuildTools')
-rw-r--r--BuildTools/SCons/SConscript.boot1
1 files changed, 1 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConscript.boot b/BuildTools/SCons/SConscript.boot
index 5fc99f3..c335934 100644
--- a/BuildTools/SCons/SConscript.boot
+++ b/BuildTools/SCons/SConscript.boot
@@ -307,6 +307,7 @@ if env["PLATFORM"] == "posix" and platform.machine() in ["x86_64", "amd64"] :
# Warnings
if env["PLATFORM"] == "win32" :
env.Append(CXXFLAGS = ["/wd4068"])
+ env.Append(CXXFLAGS = ["/wd4503"]) # Disable 'decorated name length exceeded, name was truncated' warning
if not env.get("allow_warnings", "False") :
env.Append(CXXFLAGS = ["/WX"])
elif env["PLATFORM"] == "hpux" :