[Insight-users] wrap_itkImageTcl.cxx(65536) : warning C4049
Brad King
brad.king at kitware.com
Thu, 25 Mar 2004 09:01:23 -0500
wavelethe at pku.org.cn wrote:
> the warning messege occurs when compiling itk with tcl wrapping
> It is because the line count of the file wrap_itkImageTcl.cxx is 76560, which is more than the limitation, 65536, of the c compiler.
> I don't know what this warning would cause.
>
> itk1.6
> vs.net 2003 on win2000
This is a generated source file and really does have that many source
lines. The warning message is just telling us that if there were an
error beyond line 65535 that its line number would be reported
incorrectly. The file still compiles correctly, though. This warning
has been fixed in the CVS version of ITK by splitting the generated code
across multiple files.
-Brad