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

前端 未结 4 1310
失恋的感觉
失恋的感觉 2021-01-04 19:26

Our app at work is a huge project with over 3000 units, weighing in about 3.5 million lines of code.

...or at least it was when we were compiling it under D2007. We

相关标签:
4条回答
  • 2021-01-04 19:44

    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.

    0 讨论(0)
  • 2021-01-04 19:48

    Doesn't D2010 support generics? I think some of the libs have been replaced by generics, which could account for additional lines that appear to be parsed if it counts the "virtual" lines it's using.

    0 讨论(0)
  • 2021-01-04 19:57

    I wonder if the handling of linefeeds/carriage returns to determine line count in the compiler progress area is getting befuddled somehow as a result of the Unicode internals.

    Have you tried compiling in D2009 and seeing if that exhibits the same strange behaviour?

    0 讨论(0)
  • 2021-01-04 20:01

    Could it be because it is more aggressive with inlining?

    0 讨论(0)
提交回复
热议问题