Why the 16-bit Limit on source lines?

  • Thread starter Thread starter mark
  • Start date Start date
M

mark

Hi,
2005 Beta Visual Studio Express

Just created a bit of code today, turns out it exceeded the
65535 limit on line numbers and the compiler choked. Why is
the compiler limited to a maximum of 65535 lines? I thought
those hard-wired days were over....

Cheers,
Mark.
 
mark said:
Hi,
2005 Beta Visual Studio Express

Just created a bit of code today, turns out it exceeded the
65535 limit on line numbers and the compiler choked. Why is
the compiler limited to a maximum of 65535 lines? I thought
those hard-wired days were over....

It's a limit in the debug format, IIRC - there's only a 16 bit field to
store the line number information.

-cd
 
Back
Top