为什么线数从D2007到D2010变化很大? [英] Why does line count change so much from D2007 to D2010?
问题描述
我们的工作应用程序是一个超过3000个单位的巨大项目,重约350万行代码。
Our app at work is a huge project with over 3000 units, weighing in about 3.5 million lines of code.
...或者至少是当我们正在D2007进行编译。我们最近更新到D2010,现在如果我们运行完整版,行数终于停止在490万左右。相同的DPR,相同的代码基础,一切都一样,但是编译器在构建周期中运行的代码量多达40%,而这里没有人知道为什么。
...or at least it was when we were compiling it under D2007. We recently updated to D2010, and now if we run a full build, the line count finally stops at about 4.9 million. Same DPR, same code base, same everything, but the compiler's somehow running over about 40% more lines of code in the build cycle and nobody here knows why.
只是为了使事情更加混乱,建成后,我们可以在IDE中的Project - >信息中,它报告3.8M行。在D2007中,编译器对话框和项目 - >信息对话框报告了相同的数字。
Just to make things more confusing, after building, we can go to Project -> Information in the IDE and it reports 3.8M lines. In D2007, the compiler dialog and the Project -> Information dialog reported the same number.
任何人都知道这里发生了什么?
Anyone have any idea what's going on here?
推荐答案
看起来它是一个错误。在 Project |下仍报告正确的行号信息。请参阅尼克对类似问题的回答。
It looks like it is a bug. The correct line number is still reported under Project | Information. See Nick's answer to a similar question.
这篇关于为什么线数从D2007到D2010变化很大?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!