[Insight-developers] the warning message
Brad King
brad.king@kitware.com
Mon, 26 Mar 2001 17:10:36 -0500 (EST)
> did any of you into the following warning message?
>
> vc98\include\xmemory(64) : warning C4786:
> 'std::allocator<itk::SmartPointer<itk::CellInterfaceVisitor<float,itk::CellT
> raitsInfo<3,float,float,unsigned long,unsigned long,unsigned
> long,itk::Point<float,3>,itk:
> :VectorContainer<unsigned long,itk::Point<float,3> >,std::set<unsigned
> long,std::less<unsigned long>,std::allocator<unsigned long> > > > > >' :
> identifier was truncated to '255' characters in the debug information
> d:\program files\microsoft visual studio\vc98\include\xmemory(64) :
> while compiling class-template member function 'void __thiscall
> std::allocator<itk::SmartPointer<itk::CellInterfaceVisitor<float,itk::CellTr
> aitsInfo<3,float,float,unsigned l
> ong,unsigned long,unsigned
> long,itk::Point<float,3>,itk::VectorContainer<unsigned
> long,itk::Point<float,3> >,std::set<unsigned long,std::less<unsigned
> long>,std::allocator<unsigned long> > > > > >::deallocate(void *,unsigned
> int)'
>
> how to avoid it?
That is MSVC's debug symbol truncation warning. If you make sure at least
one itk header is included before any other headers (including standard
onses) in all your files, this will go away.
-Brad