D2010编译行数差异 [英] D2010 compiled line count discrepancy

查看:102
本文介绍了D2010编译行数差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在构建项目时,有两个地方报告来源行计数:


  1. 在编译进度对话框

  2. 在项目|下信息

在Delphi 2007中,这两个数字与我们正在构建的项目相同。


$ b $在德尔福2010年,这两个数字是截然不同的。 (第一)计数大于100万行或40%。 (第二)计数足够接近德尔福2007计数,以满足正在构建的正确的文件,代替移植到D2010的代码更改。源文件的替代版本在构建环境中根本不存在。



所以问题是:



为什么第一和第二行计数在D2010中如此显着地不同在D2007中可以理解的相同?



相关:



为什么行数从D2007变为D2010?

解决方案

我们对此进行了调查,这是一个错误。这是由于转向MS Build的结果。我们已经修复了我们当前的版本。



正确的号码是项目信息菜单中的号码。编译对话框中报告的是一个近似。


When building a project there are two places where source line count is reported:

  1. On the compile progress dialog
  2. Under Project | Information

In Delphi 2007 these two numbers were identical for the project we are building.

In Delphi 2010 these two numbers are wildly different. The (1st) count is larger by a count of 1 million lines or 40%. The (2nd) count is close enough to the Delphi 2007 count to be satisfied the correct files are being built accounting for code changes in porting to D2010. Alternative versions of source files simply do not exist in the build environment.

So the question is:

Why are 1st and 2nd line count so drastically different in D2010 when they were understandably identical in D2007?

Related:

Why does line count change so much from D2007 to D2010?

解决方案

We've investigated this, and it is a bug. It came as a result of shifting to MS Build. We've fixed it in our current build.

The correct number is the one in the Project Information menu. The one that is reported in the compiling dialog is, well, an "approximation".

这篇关于D2010编译行数差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆