C
Carl Daniel [VC++ MVP]
Kaisa said:I'm compiling a large project with Visual C++.NET. During
compilation, I'm getting warnings stating "warning C4049:
compiler limit : terminating line number emission.
Compiler limit for line number is 65535", plus file names.
The length of the files mentioned really exceeds 65535
lines. However, the project compiles & links perfectly
fine. So what do these warnings actually mean? For
instance, if I have defined a subroutine that starts, let
us say, at line 70000, can a jump instruction to that
subroutine be generated?
The warning means that the debugger won't be able to match object code to
source code for line numbers over 65535, since the debug info only provides
a 16-bit space to store line number information. It has no effect on the
correctness of the compiled/linked program at all.
-cd