ATL 8.0 included in WDK 7.1 makes the linker to generate almost eight hundred LNK4254 and LNK4078 warnings. This CL disables both warnings when compiling using "Express" versions of Visual Studio.

Review URL: http://codereview.chromium.org/9718030

git-svn-id: http://src.chromium.org/svn/trunk/src/build@128082 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
alexeypa@chromium.org 2012-03-21 22:59:32 +00:00
Родитель 23abeb0659
Коммит 899b11c4a1
1 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -2773,12 +2773,21 @@
'winmm.lib',
'shlwapi.lib',
],
'conditions': [
['msvs_express', {
# Explicitly required when using the ATL with express
'AdditionalDependencies': [
'atlthunk.lib',
],
# ATL 8.0 included in WDK 7.1 makes the linker to generate
# almost eight hundred LNK4254 and LNK4078 warnings:
# - warning LNK4254: section 'ATL' (50000040) merged into
# '.rdata' (40000040) with different attributes
# - warning LNK4078: multiple 'ATL' sections found with
# different attributes
'AdditionalOptions': ['/ignore:4254', '/ignore:4078'],
}],
['MSVS_VERSION=="2005e"', {
# Non-express versions link automatically to these