disable msvc warning 4503

This commit is contained in:
arvidn 2017-07-13 20:04:21 -07:00 committed by Arvid Norberg
parent c692147c94
commit 0f2af8c3ef
2 changed files with 3 additions and 0 deletions

View File

@ -283,6 +283,8 @@ rule warnings ( properties * )
# C4268: 'identifier' : 'const' static/global data initialized
# with compiler generated default constructor fills the object with zeros
result += <cflags>/wd4268 ;
# C4503: 'identifier': decorated name length exceeded, name was truncated
result += <cflags>/wd4503 ;
}
return $(result) ;

View File

@ -87,6 +87,7 @@ project
<toolset>msvc:<cflags>/wd4275
# disable warning C4373: virtual function overrides, previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
<toolset>msvc:<cflags>/wd4373
<toolset>msvc:<cflags>/wd4503
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
<export-extra>on
: default-build