Files
EF3-Interface/PcDmis/ThirdParty/gtest/msvc/UpgradeLog.htm
T
2021-12-03 11:25:35 +08:00

374 lines
96 KiB
HTML

<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><meta content="en-us" http-equiv="Content-Language" /><meta content="text/html; charset=utf-16" http-equiv="Content-Type" /><title _locID="ConversionReport0">
迁移报告
</title><style>
/* Body style, for the entire document */
body
{
background: #F3F3F4;
color: #1E1E1F;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
padding: 0;
margin: 0;
}
/* Header1 style, used for the main title */
h1
{
padding: 10px 0px 10px 10px;
font-size: 21pt;
background-color: #E2E2E2;
border-bottom: 1px #C1C1C2 solid;
color: #201F20;
margin: 0;
font-weight: normal;
}
/* Header2 style, used for "Overview" and other sections */
h2
{
font-size: 18pt;
font-weight: normal;
padding: 15px 0 5px 0;
margin: 0;
}
/* Header3 style, used for sub-sections, such as project name */
h3
{
font-weight: normal;
font-size: 15pt;
margin: 0;
padding: 15px 0 5px 0;
background-color: transparent;
}
/* Color all hyperlinks one color */
a
{
color: #1382CE;
}
/* Table styles */
table
{
border-spacing: 0 0;
border-collapse: collapse;
font-size: 10pt;
}
table th
{
background: #E7E7E8;
text-align: left;
text-decoration: none;
font-weight: normal;
padding: 3px 6px 3px 6px;
}
table td
{
vertical-align: top;
padding: 3px 6px 5px 5px;
margin: 0px;
border: 1px solid #E7E7E8;
background: #F7F7F8;
}
/* Local link is a style for hyperlinks that link to file:/// content, there are lots so color them as 'normal' text until the user mouse overs */
.localLink
{
color: #1E1E1F;
background: #EEEEED;
text-decoration: none;
}
.localLink:hover
{
color: #1382CE;
background: #FFFF99;
text-decoration: none;
}
/* Center text, used in the over views cells that contain message level counts */
.textCentered
{
text-align: center;
}
/* The message cells in message tables should take up all avaliable space */
.messageCell
{
width: 100%;
}
/* Padding around the content after the h1 */
#content
{
padding: 0px 12px 12px 12px;
}
/* The overview table expands to width, with a max width of 97% */
#overview table
{
width: auto;
max-width: 75%;
}
/* The messages tables are always 97% width */
#messages table
{
width: 97%;
}
/* All Icons */
.IconSuccessEncoded, .IconInfoEncoded, .IconWarningEncoded, .IconErrorEncoded
{
min-width:18px;
min-height:18px;
background-repeat:no-repeat;
background-position:center;
}
/* Success icon encoded */
.IconSuccessEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconSuccess#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABOElEQVR4XqVTIWvDQBh9HVWBwWzEYGow19KpQiBqrqKiYqpVkf0BcTX9ASdr2jBZMRFRe1CYysjcYDAoTIS5wCB6eXAXsjt2YezBme/73vfeF156MFBV1QLAHEBotCSAxPO8HVo4axGv6pfnn/k2lnEYPARoP9bY4wxnoUAHUIV8/bS+OLwf4MLsZobl7bIEMKzdnLSDR5GJTjKxf92Ds+SAJ/Dm2tqAjd8wuZ4gizKk92mzhBxy6WDOggvRKAKxed78cEIuF4THj6NT3T/3UXwVSN9SaChOyAV/ULfRhwHeScWVXIEw1C2YDqiklTvV9QIZXAZQoBIVqexUVxzJBQnDYbuAU11xEp1EpnBgBcmdxpc6iUOdxGk8jkvDSVeUp81HZKaZbW4Vd0LdZ9/MHmc4qzj49+/8DReTp9S7vY7uAAAAAElFTkSuQmCC);
}
/* Information icon encoded */
.IconInfoEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconInformation#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABBElEQVR4Xs2TsYrCQBCG1wVFo3DXWHkHNvZJIdem8AXiA5i8xRXWFvcWiVibF7BIKxamtwmolY2FxsNrnF9GiVkSCGnuh2GL2e9nZvm3IlKK49ihw6YyU62AytM0zU0ClQTYpcNfHv50d3MRi/31hR50asLpNcRXuxoSYJFRxAZPeP29Or3Po1+RJ5iM9eaRMAMmkhv+JDwr8G70ea+kMB3uggEosfNj7BwpJmDAYgI7C/6YblGZJmBhYKYfTF1BFTOmFCX1PwwChKSomAlg4CEcRcWMJ5FtxHPYrReCwYCVDFg//dYRjcwcqFG2no/IH8OgRjgz33g/dWf0cAd3mRGlv/MNZL1xS4xD8eEAAAAASUVORK5CYII=);
}
/* Warning icon encoded */
.IconWarningEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconWarning#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAx0lEQVR4XpWSMQ7CMAxFf4xAyBMLCxMrO8dhaBcuwdCJS3RJBw7SA/QGTCxdWJgiQYWKXJWKIXHIlyw5lqr34tQgEOdcBsCOx5yZK3hCCKdYXneQkh4pEfqzLfu+wVDSyyzFoJjfz9NB+pAF+eizx2Vruts0k15mPgvS6GYvpVtQhB61IB/dk6AF6fS4Ben0uIX5odtFe8Q/eW1KvFeH4e8khT6+gm5B+t3juyDt7n0jpe+CANTd+oTUjN/U3yVaABnSUjFz/gFq44JaVSCXeQAAAABJRU5ErkJggg==);
}
/* Error icon encoded */
.IconErrorEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconError#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABP0lEQVR4XqWTvUoDQRSFr4NBWRAD+gA+gMXmDWJlFbC3iCBY2Qm2YmttKyhYaaFtGiPY2CWFD2BjEwiugkv8XecbcmHmEgTJgUs2371ndmY4OyNGZVluedD21TStW19nWZadKrDGFV+915tONdhsVU/LkhSMHjPMqi/sYAx6b3s79Y/Lc/lLc9u7kh0cFR40/G4e3ZhflYf7wVxbzUNZKX8/ORZm8cAdZ/66v8tpYFy67lLJIpYziwev48JGHsRyi3UdVnNgsfDg5fzpZTXz6rt4rhC/0TO9ZBbvrBh9PvRluLGWvPXnpYCFnpWTKWUXiM/Mm6n4TiYGqKvBMefn/0SmwcLriOe8D4fKnlnvBBYLD15NIinMNUjIXFjMNY19n8RGEmUSRkj+HWUeAKy6cNGR2npLrGD0mFEzfOrP+Rf4+xT8EskwMAAAAABJRU5ErkJggg==);
}
</style><script type="text/javascript" language="javascript">
// Startup
// Hook up the the loaded event for the document/window, to linkify the document content
var startupFunction = function() { linkifyElement("messages"); };
if(window.attachEvent)
{
window.attachEvent('onload', startupFunction);
}
else if (window.addEventListener)
{
window.addEventListener('load', startupFunction, false);
}
else
{
document.addEventListener('load', startupFunction, false);
}
// Toggles the visibility of table rows with the specified name
function toggleTableRowsByName(name)
{
var allRows = document.getElementsByTagName('tr');
for (i=0; i < allRows.length; i++)
{
var currentName = allRows[i].getAttribute('name');
if(!!currentName && currentName.indexOf(name) == 0)
{
var isVisible = allRows[i].style.display == '';
isVisible ? allRows[i].style.display = 'none' : allRows[i].style.display = '';
}
}
}
function scrollToFirstVisibleRow(name)
{
var allRows = document.getElementsByTagName('tr');
for (i=0; i < allRows.length; i++)
{
var currentName = allRows[i].getAttribute('name');
var isVisible = allRows[i].style.display == '';
if(!!currentName && currentName.indexOf(name) == 0 && isVisible)
{
allRows[i].scrollIntoView(true);
return true;
}
}
return false;
}
// Linkifies the specified text content, replaces candidate links with html links
function linkify(text)
{
if(!text || 0 === text.length)
{
return text;
}
// Find http, https and ftp links and replace them with hyper links
var urlLink = /(http|https|ftp)\:\/\/[a-zA-Z0-9\-\.]+(:[a-zA-Z0-9]*)?\/?([a-zA-Z0-9\-\._\?\,\/\\\+&%\$#\=~;\{\}])*/gi;
return text.replace(urlLink, '<a href="$&">$&</a>') ;
}
// Linkifies the specified element by ID
function linkifyElement(id)
{
var element = document.getElementById(id);
if(!!element)
{
element.innerHTML = linkify(element.innerHTML);
}
}
function ToggleMessageVisibility(projectName)
{
if(!projectName || 0 === projectName.length)
{
return;
}
toggleTableRowsByName("MessageRowClass" + projectName);
toggleTableRowsByName('MessageRowHeaderShow' + projectName);
toggleTableRowsByName('MessageRowHeaderHide' + projectName);
}
function ScrollToFirstVisibleMessage(projectName)
{
if(!projectName || 0 === projectName.length)
{
return;
}
// First try the 'Show messages' row
if(!scrollToFirstVisibleRow('MessageRowHeaderShow' + projectName))
{
// Failed to find a visible row for 'Show messages', try an actual message row
scrollToFirstVisibleRow('MessageRowClass' + projectName);
}
}
</script></head><body><h1 _locID="ConversionReport">
迁移报告 - gtest</h1><div id="content"><h2 _locID="OverviewTitle">概述</h2><div id="overview"><table><tr><th></th><th _locID="ProjectTableHeader">项目</th><th _locID="PathTableHeader">路径</th><th _locID="ErrorsTableHeader">错误</th><th _locID="WarningsTableHeader">警告</th><th _locID="MessagesTableHeader">消息</th></tr><tr><td class="IconWarningEncoded" /><td><strong><a href="#gtest_main">gtest_main</a></strong></td><td>gtest_main.vcproj</td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#gtest_mainWarning">18</a></td><td class="textCentered"><a href="#" onclick="ScrollToFirstVisibleMessage('gtest_main'); return false;">5</a></td></tr><tr><td class="IconWarningEncoded" /><td><strong><a href="#gtest">gtest</a></strong></td><td>gtest.vcproj</td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#gtestWarning">16</a></td><td class="textCentered"><a href="#" onclick="ScrollToFirstVisibleMessage('gtest'); return false;">5</a></td></tr><tr><td class="IconWarningEncoded" /><td><strong><a href="#gtest_prod_test">gtest_prod_test</a></strong></td><td>gtest_prod_test.vcproj</td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#gtest_prod_testWarning">14</a></td><td class="textCentered"><a href="#" onclick="ScrollToFirstVisibleMessage('gtest_prod_test'); return false;">6</a></td></tr><tr><td class="IconWarningEncoded" /><td><strong><a href="#gtest_unittest">gtest_unittest</a></strong></td><td>gtest_unittest.vcproj</td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#gtest_unittestWarning">14</a></td><td class="textCentered"><a href="#" onclick="ScrollToFirstVisibleMessage('gtest_unittest'); return false;">6</a></td></tr><tr><td class="IconWarningEncoded" /><td><strong><a href="#Solution"><span _locID="OverviewSolutionSpan">解决方案</span></a></strong></td><td>gtest.sln</td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#SolutionWarning">1</a></td><td class="textCentered"><a href="#" onclick="ScrollToFirstVisibleMessage('Solution'); return false;">2</a></td></tr></table></div><h2 _locID="SolutionAndProjectsTitle">解决方案和项目</h2><div id="messages"><a name="gtest_main" /><h3>gtest_main</h3><table><tr id="gtest_mainHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">消息</th></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>由于要求 Visual C++ 项目生成嵌入式(默认) Windows SxS 清单,现在清单工具将自动生成项目中的清单文件。 您可能需要更改您生成的版本,以便其正常工作。例如,建议将任何清单文件中包含的依赖项信息都转换为源代码附带的头文件中的“#pragma comment(linker,"&lt;在此处插入依赖项&gt;")”。 如果项目已经通过资源(.rc)文件在 RT_MANIFEST 资源节中嵌入清单,则需要先将该行注释掉,然后才能正确生成项目。</span></td></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>由于 C++ 编译器中的合规性更改,可能需要更改代码才能使项目在生成时不出错。C++ 编译器的早期版本允许按成员函数名称(如 MemberFunctionName)指定成员函数指针。C++ 标准则要求使用 address-of 运算符指定完全限定名(如 ClassName::MemberFunctionName(&amp;C))。如果您的项目包含在 Windows 窗体设计器中使用的窗体或控件,则可能必须更改 InitializeComponent 中的代码,这是因为设计器生成的代码使用的是委托构造中的不符合规范的语法(在事件处理程序中使用)。</span></td></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>此应用程序已更新,包含了与 Windows Vista 的用户帐户控制(UAC)功能相关的设置。默认情况下,当运行在启用了 UAC 的 Windows Vista 上时,此应用程序被标记为以与启动它的进程相同的权限运行。此标记还禁止应用程序以虚拟化方式运行。您可以从此项目的属性页中更改与 UAC 相关的设置。</span></td></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>VCConvertEngine 未能转换特性 ReferencesPath = (在 Configuration Debug|Win32 下)。</span></td></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>这一版本中不支持特性“Detect64BitPortabilityProblems”(属于“VCCLCompilerTool”),已在转换过程中删除该特性。</span></td></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>VCWebServiceProxyGeneratorTool 不再受支持。该工具已从项目设置中移除。</span></td></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>VCConvertEngine 未能转换特性 ReferencesPath = "..\include";".." (在 Configuration Release|Win32 下)。</span></td></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>这一版本中不支持特性“Detect64BitPortabilityProblems”(属于“VCCLCompilerTool”),已在转换过程中删除该特性。</span></td></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>这一版本中不支持特性“CopyLocalDependencies”(属于“gtest”),已在转换过程中删除该特性。</span></td></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>这一版本中不支持特性“UseDependenciesInBuild”(属于“gtest”),已在转换过程中删除该特性。</span></td></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>下面为配置“Debug|Win32”报告的所有用户宏在其定义前使用,这会导致不适当的生成结果;这在此版本中不受支持。您可通过更改占用属性表的包含顺序并确保这些属性表来自于定义用户宏的属性表之后,来解决此问题。</span></td></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>MSB4211: C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (86,5); 正在首次将属性“TargetPlatformIdentifier”设置为某个值,但已在“C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Common.props (103,5)”处使用了该属性。</span></td></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>MSB4211: C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (87,5); 正在首次将属性“TargetPlatformVersion”设置为某个值,但已在“C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Common.props (103,5)”处使用了该属性。</span></td></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>下面为配置“Release|Win32”报告的所有用户宏在其定义前使用,这会导致不适当的生成结果;这在此版本中不受支持。您可通过更改占用属性表的包含顺序并确保这些属性表来自于定义用户宏的属性表之后,来解决此问题。</span></td></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>MSB4211: C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (86,5); 正在首次将属性“TargetPlatformIdentifier”设置为某个值,但已在“C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Common.props (103,5)”处使用了该属性。</span></td></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>MSB4211: C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (87,5); 正在首次将属性“TargetPlatformVersion”设置为某个值,但已在“C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Common.props (103,5)”处使用了该属性。</span></td></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>MSB8012: $(TargetName) (“gtest_main”)不匹配 Librarian 的 OutputFile 属性值“gtest/Debug\gtest_maind.lib”(“gtest_maind”)(在项目配置“Debug|Win32”中)。这可能会导致项目生成不正确。若要更正此问题,请确保 $(TargetName) 属性值匹配 %(Lib.OutputFile) 中指定的值。</span></td></tr><tr name="WarningRowClassgtest_main"><td class="IconWarningEncoded"><a name="gtest_mainWarning" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>MSB8012: $(TargetPath) (“E:\Tony\Hg_Tony\MachineInterfaceUtility\PcDmis\ThirdParty\gtest-1.7.0\msvc\gtest/Debug\gtest_main.lib”)不匹配 Librarian 的 OutputFile 属性值“gtest/Debug\gtest_maind.lib”(“E:\Tony\Hg_Tony\MachineInterfaceUtility\PcDmis\ThirdParty\gtest-1.7.0\msvc\gtest/Debug\gtest_maind.lib”)(在项目配置“Debug|Win32”中)。这可能会导致项目生成不正确。若要更正此问题,请确保 $(TargetPath) 属性值匹配 %(Lib.OutputFile) 中指定的值。</span></td></tr><tr name="MessageRowHeaderShowgtest_main"><td class="IconInfoEncoded" /><td class="messageCell"><a _locID="ShowAdditionalMessages" href="#" name="gtest_mainMessage" onclick="ToggleMessageVisibility('gtest_main'); return false;">
显示 5 其他消息
</a></td></tr><tr name="MessageRowClassgtest_main" style="display: none"><td class="IconInfoEncoded"><a name="gtest_mainMessage" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>转换项目文件“E:\Tony\Hg_Tony\MachineInterfaceUtility\PcDmis\ThirdParty\gtest-1.7.0\msvc\gtest_main.vcproj”。</span></td></tr><tr name="MessageRowClassgtest_main" style="display: none"><td class="IconInfoEncoded"><a name="gtest_mainMessage" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>Visual C++ 现在在其 C 和 C++ 库中提供了改进的安全性。这包括新的和改进后的函数、附加检查和验证以及内部设计更改。这些库默认情况下处于打开状态。在您生成项目时,可能会看到有关不安全的函数或参数的一些警告。这些警告通常会建议改用更安全的编码样式或函数。建议您针对这些警告进行更正,以使代码更加安全。在文档中搜索“CRT 中的安全增强”和“已检查的迭代器”可找到完整的详细信息。</span></td></tr><tr name="MessageRowClassgtest_main" style="display: none"><td class="IconInfoEncoded"><a name="gtest_mainMessage" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>已对 C/C++ 编译器的默认设置进行了修改,以使其更加符合 ISO 标准 C++。这些更改包括: 对于循环范围强制使用标准 C++,支持 wchar_t 作为本机类型。如果不更改现有代码或用于生成现有代码的编译器选项,则这些更改可能导致现有代码无法编译。</span></td></tr><tr name="MessageRowClassgtest_main" style="display: none"><td class="IconInfoEncoded"><a name="gtest_mainMessage" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>单线程运行库开关(/MLd, /ML)已从 C++ 编译器中移除。 此项目已自动转换为使用相应的多线程运行库开关(/MTd, /MT)。</span></td></tr><tr name="MessageRowClassgtest_main" style="display: none"><td class="IconInfoEncoded"><a name="gtest_mainMessage" /></td><td class="messageCell"><strong>gtest_main.vcproj:
</strong><span>已完成转换到新项目文件“E:\Tony\Hg_Tony\MachineInterfaceUtility\PcDmis\ThirdParty\gtest-1.7.0\msvc\gtest_main.vcxproj”。</span></td></tr><tr style="display: none" name="MessageRowHeaderHidegtest_main"><td class="IconInfoEncoded" /><td class="messageCell"><a _locID="HideAdditionalMessages" href="#" name="gtest_mainMessage" onclick="ToggleMessageVisibility('gtest_main'); return false;">
隐藏 5 其他消息
</a></td></tr></table><a name="gtest" /><h3>gtest</h3><table><tr id="gtestHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">消息</th></tr><tr name="WarningRowClassgtest"><td class="IconWarningEncoded"><a name="gtestWarning" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>由于要求 Visual C++ 项目生成嵌入式(默认) Windows SxS 清单,现在清单工具将自动生成项目中的清单文件。 您可能需要更改您生成的版本,以便其正常工作。例如,建议将任何清单文件中包含的依赖项信息都转换为源代码附带的头文件中的“#pragma comment(linker,"&lt;在此处插入依赖项&gt;")”。 如果项目已经通过资源(.rc)文件在 RT_MANIFEST 资源节中嵌入清单,则需要先将该行注释掉,然后才能正确生成项目。</span></td></tr><tr name="WarningRowClassgtest"><td class="IconWarningEncoded"><a name="gtestWarning" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>由于 C++ 编译器中的合规性更改,可能需要更改代码才能使项目在生成时不出错。C++ 编译器的早期版本允许按成员函数名称(如 MemberFunctionName)指定成员函数指针。C++ 标准则要求使用 address-of 运算符指定完全限定名(如 ClassName::MemberFunctionName(&amp;C))。如果您的项目包含在 Windows 窗体设计器中使用的窗体或控件,则可能必须更改 InitializeComponent 中的代码,这是因为设计器生成的代码使用的是委托构造中的不符合规范的语法(在事件处理程序中使用)。</span></td></tr><tr name="WarningRowClassgtest"><td class="IconWarningEncoded"><a name="gtestWarning" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>此应用程序已更新,包含了与 Windows Vista 的用户帐户控制(UAC)功能相关的设置。默认情况下,当运行在启用了 UAC 的 Windows Vista 上时,此应用程序被标记为以与启动它的进程相同的权限运行。此标记还禁止应用程序以虚拟化方式运行。您可以从此项目的属性页中更改与 UAC 相关的设置。</span></td></tr><tr name="WarningRowClassgtest"><td class="IconWarningEncoded"><a name="gtestWarning" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>VCConvertEngine 未能转换特性 ReferencesPath = (在 Configuration Debug|Win32 下)。</span></td></tr><tr name="WarningRowClassgtest"><td class="IconWarningEncoded"><a name="gtestWarning" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>这一版本中不支持特性“Detect64BitPortabilityProblems”(属于“VCCLCompilerTool”),已在转换过程中删除该特性。</span></td></tr><tr name="WarningRowClassgtest"><td class="IconWarningEncoded"><a name="gtestWarning" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>VCWebServiceProxyGeneratorTool 不再受支持。该工具已从项目设置中移除。</span></td></tr><tr name="WarningRowClassgtest"><td class="IconWarningEncoded"><a name="gtestWarning" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>VCConvertEngine 未能转换特性 ReferencesPath = "..\include";".." (在 Configuration Release|Win32 下)。</span></td></tr><tr name="WarningRowClassgtest"><td class="IconWarningEncoded"><a name="gtestWarning" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>这一版本中不支持特性“Detect64BitPortabilityProblems”(属于“VCCLCompilerTool”),已在转换过程中删除该特性。</span></td></tr><tr name="WarningRowClassgtest"><td class="IconWarningEncoded"><a name="gtestWarning" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>下面为配置“Debug|Win32”报告的所有用户宏在其定义前使用,这会导致不适当的生成结果;这在此版本中不受支持。您可通过更改占用属性表的包含顺序并确保这些属性表来自于定义用户宏的属性表之后,来解决此问题。</span></td></tr><tr name="WarningRowClassgtest"><td class="IconWarningEncoded"><a name="gtestWarning" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>MSB4211: C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (86,5); 正在首次将属性“TargetPlatformIdentifier”设置为某个值,但已在“C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Common.props (103,5)”处使用了该属性。</span></td></tr><tr name="WarningRowClassgtest"><td class="IconWarningEncoded"><a name="gtestWarning" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>MSB4211: C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (87,5); 正在首次将属性“TargetPlatformVersion”设置为某个值,但已在“C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Common.props (103,5)”处使用了该属性。</span></td></tr><tr name="WarningRowClassgtest"><td class="IconWarningEncoded"><a name="gtestWarning" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>下面为配置“Release|Win32”报告的所有用户宏在其定义前使用,这会导致不适当的生成结果;这在此版本中不受支持。您可通过更改占用属性表的包含顺序并确保这些属性表来自于定义用户宏的属性表之后,来解决此问题。</span></td></tr><tr name="WarningRowClassgtest"><td class="IconWarningEncoded"><a name="gtestWarning" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>MSB4211: C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (86,5); 正在首次将属性“TargetPlatformIdentifier”设置为某个值,但已在“C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Common.props (103,5)”处使用了该属性。</span></td></tr><tr name="WarningRowClassgtest"><td class="IconWarningEncoded"><a name="gtestWarning" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>MSB4211: C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (87,5); 正在首次将属性“TargetPlatformVersion”设置为某个值,但已在“C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Common.props (103,5)”处使用了该属性。</span></td></tr><tr name="WarningRowClassgtest"><td class="IconWarningEncoded"><a name="gtestWarning" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>MSB8012: $(TargetName) (“gtest”)不匹配 Librarian 的 OutputFile 属性值“gtest/Debug\gtestd.lib”(“gtestd”)(在项目配置“Debug|Win32”中)。这可能会导致项目生成不正确。若要更正此问题,请确保 $(TargetName) 属性值匹配 %(Lib.OutputFile) 中指定的值。</span></td></tr><tr name="WarningRowClassgtest"><td class="IconWarningEncoded"><a name="gtestWarning" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>MSB8012: $(TargetPath) (“E:\Tony\Hg_Tony\MachineInterfaceUtility\PcDmis\ThirdParty\gtest-1.7.0\msvc\gtest/Debug\gtest.lib”)不匹配 Librarian 的 OutputFile 属性值“gtest/Debug\gtestd.lib”(“E:\Tony\Hg_Tony\MachineInterfaceUtility\PcDmis\ThirdParty\gtest-1.7.0\msvc\gtest/Debug\gtestd.lib”)(在项目配置“Debug|Win32”中)。这可能会导致项目生成不正确。若要更正此问题,请确保 $(TargetPath) 属性值匹配 %(Lib.OutputFile) 中指定的值。</span></td></tr><tr name="MessageRowHeaderShowgtest"><td class="IconInfoEncoded" /><td class="messageCell"><a _locID="ShowAdditionalMessages" href="#" name="gtestMessage" onclick="ToggleMessageVisibility('gtest'); return false;">
显示 5 其他消息
</a></td></tr><tr name="MessageRowClassgtest" style="display: none"><td class="IconInfoEncoded"><a name="gtestMessage" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>转换项目文件“E:\Tony\Hg_Tony\MachineInterfaceUtility\PcDmis\ThirdParty\gtest-1.7.0\msvc\gtest.vcproj”。</span></td></tr><tr name="MessageRowClassgtest" style="display: none"><td class="IconInfoEncoded"><a name="gtestMessage" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>Visual C++ 现在在其 C 和 C++ 库中提供了改进的安全性。这包括新的和改进后的函数、附加检查和验证以及内部设计更改。这些库默认情况下处于打开状态。在您生成项目时,可能会看到有关不安全的函数或参数的一些警告。这些警告通常会建议改用更安全的编码样式或函数。建议您针对这些警告进行更正,以使代码更加安全。在文档中搜索“CRT 中的安全增强”和“已检查的迭代器”可找到完整的详细信息。</span></td></tr><tr name="MessageRowClassgtest" style="display: none"><td class="IconInfoEncoded"><a name="gtestMessage" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>已对 C/C++ 编译器的默认设置进行了修改,以使其更加符合 ISO 标准 C++。这些更改包括: 对于循环范围强制使用标准 C++,支持 wchar_t 作为本机类型。如果不更改现有代码或用于生成现有代码的编译器选项,则这些更改可能导致现有代码无法编译。</span></td></tr><tr name="MessageRowClassgtest" style="display: none"><td class="IconInfoEncoded"><a name="gtestMessage" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>单线程运行库开关(/MLd, /ML)已从 C++ 编译器中移除。 此项目已自动转换为使用相应的多线程运行库开关(/MTd, /MT)。</span></td></tr><tr name="MessageRowClassgtest" style="display: none"><td class="IconInfoEncoded"><a name="gtestMessage" /></td><td class="messageCell"><strong>gtest.vcproj:
</strong><span>已完成转换到新项目文件“E:\Tony\Hg_Tony\MachineInterfaceUtility\PcDmis\ThirdParty\gtest-1.7.0\msvc\gtest.vcxproj”。</span></td></tr><tr style="display: none" name="MessageRowHeaderHidegtest"><td class="IconInfoEncoded" /><td class="messageCell"><a _locID="HideAdditionalMessages" href="#" name="gtestMessage" onclick="ToggleMessageVisibility('gtest'); return false;">
隐藏 5 其他消息
</a></td></tr></table><a name="gtest_prod_test" /><h3>gtest_prod_test</h3><table><tr id="gtest_prod_testHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">消息</th></tr><tr name="WarningRowClassgtest_prod_test"><td class="IconWarningEncoded"><a name="gtest_prod_testWarning" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>由于要求 Visual C++ 项目生成嵌入式(默认) Windows SxS 清单,现在清单工具将自动生成项目中的清单文件。 您可能需要更改您生成的版本,以便其正常工作。例如,建议将任何清单文件中包含的依赖项信息都转换为源代码附带的头文件中的“#pragma comment(linker,"&lt;在此处插入依赖项&gt;")”。 如果项目已经通过资源(.rc)文件在 RT_MANIFEST 资源节中嵌入清单,则需要先将该行注释掉,然后才能正确生成项目。</span></td></tr><tr name="WarningRowClassgtest_prod_test"><td class="IconWarningEncoded"><a name="gtest_prod_testWarning" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>由于 C++ 编译器中的合规性更改,可能需要更改代码才能使项目在生成时不出错。C++ 编译器的早期版本允许按成员函数名称(如 MemberFunctionName)指定成员函数指针。C++ 标准则要求使用 address-of 运算符指定完全限定名(如 ClassName::MemberFunctionName(&amp;C))。如果您的项目包含在 Windows 窗体设计器中使用的窗体或控件,则可能必须更改 InitializeComponent 中的代码,这是因为设计器生成的代码使用的是委托构造中的不符合规范的语法(在事件处理程序中使用)。</span></td></tr><tr name="WarningRowClassgtest_prod_test"><td class="IconWarningEncoded"><a name="gtest_prod_testWarning" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>此应用程序已更新,包含了与 Windows Vista 的用户帐户控制(UAC)功能相关的设置。默认情况下,当运行在启用了 UAC 的 Windows Vista 上时,此应用程序被标记为以与启动它的进程相同的权限运行。此标记还禁止应用程序以虚拟化方式运行。您可以从此项目的属性页中更改与 UAC 相关的设置。</span></td></tr><tr name="WarningRowClassgtest_prod_test"><td class="IconWarningEncoded"><a name="gtest_prod_testWarning" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>这一版本中不支持特性“Detect64BitPortabilityProblems”(属于“VCCLCompilerTool”),已在转换过程中删除该特性。</span></td></tr><tr name="WarningRowClassgtest_prod_test"><td class="IconWarningEncoded"><a name="gtest_prod_testWarning" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>VCWebServiceProxyGeneratorTool 不再受支持。该工具已从项目设置中移除。</span></td></tr><tr name="WarningRowClassgtest_prod_test"><td class="IconWarningEncoded"><a name="gtest_prod_testWarning" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>这一版本中不支持特性“Detect64BitPortabilityProblems”(属于“VCCLCompilerTool”),已在转换过程中删除该特性。</span></td></tr><tr name="WarningRowClassgtest_prod_test"><td class="IconWarningEncoded"><a name="gtest_prod_testWarning" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>这一版本中不支持特性“CopyLocalDependencies”(属于“gtest_main”),已在转换过程中删除该特性。</span></td></tr><tr name="WarningRowClassgtest_prod_test"><td class="IconWarningEncoded"><a name="gtest_prod_testWarning" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>这一版本中不支持特性“UseDependenciesInBuild”(属于“gtest_main”),已在转换过程中删除该特性。</span></td></tr><tr name="WarningRowClassgtest_prod_test"><td class="IconWarningEncoded"><a name="gtest_prod_testWarning" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>下面为配置“Debug|Win32”报告的所有用户宏在其定义前使用,这会导致不适当的生成结果;这在此版本中不受支持。您可通过更改占用属性表的包含顺序并确保这些属性表来自于定义用户宏的属性表之后,来解决此问题。</span></td></tr><tr name="WarningRowClassgtest_prod_test"><td class="IconWarningEncoded"><a name="gtest_prod_testWarning" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>MSB4211: C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (86,5); 正在首次将属性“TargetPlatformIdentifier”设置为某个值,但已在“C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Common.props (103,5)”处使用了该属性。</span></td></tr><tr name="WarningRowClassgtest_prod_test"><td class="IconWarningEncoded"><a name="gtest_prod_testWarning" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>MSB4211: C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (87,5); 正在首次将属性“TargetPlatformVersion”设置为某个值,但已在“C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Common.props (103,5)”处使用了该属性。</span></td></tr><tr name="WarningRowClassgtest_prod_test"><td class="IconWarningEncoded"><a name="gtest_prod_testWarning" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>下面为配置“Release|Win32”报告的所有用户宏在其定义前使用,这会导致不适当的生成结果;这在此版本中不受支持。您可通过更改占用属性表的包含顺序并确保这些属性表来自于定义用户宏的属性表之后,来解决此问题。</span></td></tr><tr name="WarningRowClassgtest_prod_test"><td class="IconWarningEncoded"><a name="gtest_prod_testWarning" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>MSB4211: C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (86,5); 正在首次将属性“TargetPlatformIdentifier”设置为某个值,但已在“C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Common.props (103,5)”处使用了该属性。</span></td></tr><tr name="WarningRowClassgtest_prod_test"><td class="IconWarningEncoded"><a name="gtest_prod_testWarning" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>MSB4211: C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (87,5); 正在首次将属性“TargetPlatformVersion”设置为某个值,但已在“C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Common.props (103,5)”处使用了该属性。</span></td></tr><tr name="MessageRowHeaderShowgtest_prod_test"><td class="IconInfoEncoded" /><td class="messageCell"><a _locID="ShowAdditionalMessages" href="#" name="gtest_prod_testMessage" onclick="ToggleMessageVisibility('gtest_prod_test'); return false;">
显示 6 其他消息
</a></td></tr><tr name="MessageRowClassgtest_prod_test" style="display: none"><td class="IconInfoEncoded"><a name="gtest_prod_testMessage" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>转换项目文件“E:\Tony\Hg_Tony\MachineInterfaceUtility\PcDmis\ThirdParty\gtest-1.7.0\msvc\gtest_prod_test.vcproj”。</span></td></tr><tr name="MessageRowClassgtest_prod_test" style="display: none"><td class="IconInfoEncoded"><a name="gtest_prod_testMessage" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>Visual C++ 现在在其 C 和 C++ 库中提供了改进的安全性。这包括新的和改进后的函数、附加检查和验证以及内部设计更改。这些库默认情况下处于打开状态。在您生成项目时,可能会看到有关不安全的函数或参数的一些警告。这些警告通常会建议改用更安全的编码样式或函数。建议您针对这些警告进行更正,以使代码更加安全。在文档中搜索“CRT 中的安全增强”和“已检查的迭代器”可找到完整的详细信息。</span></td></tr><tr name="MessageRowClassgtest_prod_test" style="display: none"><td class="IconInfoEncoded"><a name="gtest_prod_testMessage" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>已对 C/C++ 编译器的默认设置进行了修改,以使其更加符合 ISO 标准 C++。这些更改包括: 对于循环范围强制使用标准 C++,支持 wchar_t 作为本机类型。如果不更改现有代码或用于生成现有代码的编译器选项,则这些更改可能导致现有代码无法编译。</span></td></tr><tr name="MessageRowClassgtest_prod_test" style="display: none"><td class="IconInfoEncoded"><a name="gtest_prod_testMessage" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>单线程运行库开关(/MLd, /ML)已从 C++ 编译器中移除。 此项目已自动转换为使用相应的多线程运行库开关(/MTd, /MT)。</span></td></tr><tr name="MessageRowClassgtest_prod_test" style="display: none"><td class="IconInfoEncoded"><a name="gtest_prod_testMessage" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>已不再支持对本地 IIS 服务器的 Web 部署。Web 部署生成工具已从项目设置中删除。</span></td></tr><tr name="MessageRowClassgtest_prod_test" style="display: none"><td class="IconInfoEncoded"><a name="gtest_prod_testMessage" /></td><td class="messageCell"><strong>gtest_prod_test.vcproj:
</strong><span>已完成转换到新项目文件“E:\Tony\Hg_Tony\MachineInterfaceUtility\PcDmis\ThirdParty\gtest-1.7.0\msvc\gtest_prod_test.vcxproj”。</span></td></tr><tr style="display: none" name="MessageRowHeaderHidegtest_prod_test"><td class="IconInfoEncoded" /><td class="messageCell"><a _locID="HideAdditionalMessages" href="#" name="gtest_prod_testMessage" onclick="ToggleMessageVisibility('gtest_prod_test'); return false;">
隐藏 6 其他消息
</a></td></tr></table><a name="gtest_unittest" /><h3>gtest_unittest</h3><table><tr id="gtest_unittestHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">消息</th></tr><tr name="WarningRowClassgtest_unittest"><td class="IconWarningEncoded"><a name="gtest_unittestWarning" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>由于要求 Visual C++ 项目生成嵌入式(默认) Windows SxS 清单,现在清单工具将自动生成项目中的清单文件。 您可能需要更改您生成的版本,以便其正常工作。例如,建议将任何清单文件中包含的依赖项信息都转换为源代码附带的头文件中的“#pragma comment(linker,"&lt;在此处插入依赖项&gt;")”。 如果项目已经通过资源(.rc)文件在 RT_MANIFEST 资源节中嵌入清单,则需要先将该行注释掉,然后才能正确生成项目。</span></td></tr><tr name="WarningRowClassgtest_unittest"><td class="IconWarningEncoded"><a name="gtest_unittestWarning" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>由于 C++ 编译器中的合规性更改,可能需要更改代码才能使项目在生成时不出错。C++ 编译器的早期版本允许按成员函数名称(如 MemberFunctionName)指定成员函数指针。C++ 标准则要求使用 address-of 运算符指定完全限定名(如 ClassName::MemberFunctionName(&amp;C))。如果您的项目包含在 Windows 窗体设计器中使用的窗体或控件,则可能必须更改 InitializeComponent 中的代码,这是因为设计器生成的代码使用的是委托构造中的不符合规范的语法(在事件处理程序中使用)。</span></td></tr><tr name="WarningRowClassgtest_unittest"><td class="IconWarningEncoded"><a name="gtest_unittestWarning" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>此应用程序已更新,包含了与 Windows Vista 的用户帐户控制(UAC)功能相关的设置。默认情况下,当运行在启用了 UAC 的 Windows Vista 上时,此应用程序被标记为以与启动它的进程相同的权限运行。此标记还禁止应用程序以虚拟化方式运行。您可以从此项目的属性页中更改与 UAC 相关的设置。</span></td></tr><tr name="WarningRowClassgtest_unittest"><td class="IconWarningEncoded"><a name="gtest_unittestWarning" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>这一版本中不支持特性“Detect64BitPortabilityProblems”(属于“VCCLCompilerTool”),已在转换过程中删除该特性。</span></td></tr><tr name="WarningRowClassgtest_unittest"><td class="IconWarningEncoded"><a name="gtest_unittestWarning" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>VCWebServiceProxyGeneratorTool 不再受支持。该工具已从项目设置中移除。</span></td></tr><tr name="WarningRowClassgtest_unittest"><td class="IconWarningEncoded"><a name="gtest_unittestWarning" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>这一版本中不支持特性“Detect64BitPortabilityProblems”(属于“VCCLCompilerTool”),已在转换过程中删除该特性。</span></td></tr><tr name="WarningRowClassgtest_unittest"><td class="IconWarningEncoded"><a name="gtest_unittestWarning" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>这一版本中不支持特性“CopyLocalDependencies”(属于“gtest_main”),已在转换过程中删除该特性。</span></td></tr><tr name="WarningRowClassgtest_unittest"><td class="IconWarningEncoded"><a name="gtest_unittestWarning" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>这一版本中不支持特性“UseDependenciesInBuild”(属于“gtest_main”),已在转换过程中删除该特性。</span></td></tr><tr name="WarningRowClassgtest_unittest"><td class="IconWarningEncoded"><a name="gtest_unittestWarning" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>下面为配置“Debug|Win32”报告的所有用户宏在其定义前使用,这会导致不适当的生成结果;这在此版本中不受支持。您可通过更改占用属性表的包含顺序并确保这些属性表来自于定义用户宏的属性表之后,来解决此问题。</span></td></tr><tr name="WarningRowClassgtest_unittest"><td class="IconWarningEncoded"><a name="gtest_unittestWarning" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>MSB4211: C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (86,5); 正在首次将属性“TargetPlatformIdentifier”设置为某个值,但已在“C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Common.props (103,5)”处使用了该属性。</span></td></tr><tr name="WarningRowClassgtest_unittest"><td class="IconWarningEncoded"><a name="gtest_unittestWarning" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>MSB4211: C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (87,5); 正在首次将属性“TargetPlatformVersion”设置为某个值,但已在“C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Common.props (103,5)”处使用了该属性。</span></td></tr><tr name="WarningRowClassgtest_unittest"><td class="IconWarningEncoded"><a name="gtest_unittestWarning" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>下面为配置“Release|Win32”报告的所有用户宏在其定义前使用,这会导致不适当的生成结果;这在此版本中不受支持。您可通过更改占用属性表的包含顺序并确保这些属性表来自于定义用户宏的属性表之后,来解决此问题。</span></td></tr><tr name="WarningRowClassgtest_unittest"><td class="IconWarningEncoded"><a name="gtest_unittestWarning" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>MSB4211: C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (86,5); 正在首次将属性“TargetPlatformIdentifier”设置为某个值,但已在“C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Common.props (103,5)”处使用了该属性。</span></td></tr><tr name="WarningRowClassgtest_unittest"><td class="IconWarningEncoded"><a name="gtest_unittestWarning" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>MSB4211: C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets (87,5); 正在首次将属性“TargetPlatformVersion”设置为某个值,但已在“C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Common.props (103,5)”处使用了该属性。</span></td></tr><tr name="MessageRowHeaderShowgtest_unittest"><td class="IconInfoEncoded" /><td class="messageCell"><a _locID="ShowAdditionalMessages" href="#" name="gtest_unittestMessage" onclick="ToggleMessageVisibility('gtest_unittest'); return false;">
显示 6 其他消息
</a></td></tr><tr name="MessageRowClassgtest_unittest" style="display: none"><td class="IconInfoEncoded"><a name="gtest_unittestMessage" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>转换项目文件“E:\Tony\Hg_Tony\MachineInterfaceUtility\PcDmis\ThirdParty\gtest-1.7.0\msvc\gtest_unittest.vcproj”。</span></td></tr><tr name="MessageRowClassgtest_unittest" style="display: none"><td class="IconInfoEncoded"><a name="gtest_unittestMessage" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>Visual C++ 现在在其 C 和 C++ 库中提供了改进的安全性。这包括新的和改进后的函数、附加检查和验证以及内部设计更改。这些库默认情况下处于打开状态。在您生成项目时,可能会看到有关不安全的函数或参数的一些警告。这些警告通常会建议改用更安全的编码样式或函数。建议您针对这些警告进行更正,以使代码更加安全。在文档中搜索“CRT 中的安全增强”和“已检查的迭代器”可找到完整的详细信息。</span></td></tr><tr name="MessageRowClassgtest_unittest" style="display: none"><td class="IconInfoEncoded"><a name="gtest_unittestMessage" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>已对 C/C++ 编译器的默认设置进行了修改,以使其更加符合 ISO 标准 C++。这些更改包括: 对于循环范围强制使用标准 C++,支持 wchar_t 作为本机类型。如果不更改现有代码或用于生成现有代码的编译器选项,则这些更改可能导致现有代码无法编译。</span></td></tr><tr name="MessageRowClassgtest_unittest" style="display: none"><td class="IconInfoEncoded"><a name="gtest_unittestMessage" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>单线程运行库开关(/MLd, /ML)已从 C++ 编译器中移除。 此项目已自动转换为使用相应的多线程运行库开关(/MTd, /MT)。</span></td></tr><tr name="MessageRowClassgtest_unittest" style="display: none"><td class="IconInfoEncoded"><a name="gtest_unittestMessage" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>已不再支持对本地 IIS 服务器的 Web 部署。Web 部署生成工具已从项目设置中删除。</span></td></tr><tr name="MessageRowClassgtest_unittest" style="display: none"><td class="IconInfoEncoded"><a name="gtest_unittestMessage" /></td><td class="messageCell"><strong>gtest_unittest.vcproj:
</strong><span>已完成转换到新项目文件“E:\Tony\Hg_Tony\MachineInterfaceUtility\PcDmis\ThirdParty\gtest-1.7.0\msvc\gtest_unittest.vcxproj”。</span></td></tr><tr style="display: none" name="MessageRowHeaderHidegtest_unittest"><td class="IconInfoEncoded" /><td class="messageCell"><a _locID="HideAdditionalMessages" href="#" name="gtest_unittestMessage" onclick="ToggleMessageVisibility('gtest_unittest'); return false;">
隐藏 6 其他消息
</a></td></tr></table><a name="Solution" /><h3 _locID="ProjectDisplayNameHeader">解决方案</h3><table><tr id="SolutionHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">消息</th></tr><tr name="WarningRowClassSolution"><td class="IconWarningEncoded"><a name="SolutionWarning" /></td><td class="messageCell"><strong>gtest.sln:
</strong><span>Visual Studio 需要对此项目进行非功能性更改以使此项目能够在 Visual Studio 2013、Visual Studio 2012 和 Visual Studio 2010 SP1 中打开,而不会影响项目行为。</span></td></tr><tr name="MessageRowHeaderShowSolution"><td class="IconInfoEncoded" /><td class="messageCell"><a _locID="ShowAdditionalMessages" href="#" name="SolutionMessage" onclick="ToggleMessageVisibility('Solution'); return false;">
显示 2 其他消息
</a></td></tr><tr name="MessageRowClassSolution" style="display: none"><td class="IconInfoEncoded"><a name="SolutionMessage" /></td><td class="messageCell"><strong>gtest.sln:
</strong><span>文件已成功备份为 E:\Tony\Hg_Tony\MachineInterfaceUtility\PcDmis\ThirdParty\gtest-1.7.0\msvc\Backup\gtest.sln</span></td></tr><tr name="MessageRowClassSolution" style="display: none"><td class="IconInfoEncoded"><a name="SolutionMessage" /></td><td class="messageCell"><strong>gtest.sln:
</strong><span>成功迁移解决方案</span></td></tr><tr style="display: none" name="MessageRowHeaderHideSolution"><td class="IconInfoEncoded" /><td class="messageCell"><a _locID="HideAdditionalMessages" href="#" name="SolutionMessage" onclick="ToggleMessageVisibility('Solution'); return false;">
隐藏 2 其他消息
</a></td></tr></table></div></div></body></html>