From 33ffcd9bf5bc9806d0b404aae2aaf6d67a2945db Mon Sep 17 00:00:00 2001 From: Tobias Markmann Date: Tue, 31 May 2016 09:32:50 +0200 Subject: 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 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" : -- cgit v0.10.2-6-g49f6