Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

leggyguy

some warnings - do I need to worry about these onse?

This topic is 5833 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am getting the following warnings when I compile my latest program. These are all to do with stl. I think these warnings are simply telling me that due to long lines of code in one of my #include files, the compiler will shorten these lines when referring to them in debugging. Is that right? Or is this something I need to worry about? --------------------Configuration: GroundClamping - Win32 Debug-------------------- Compiling... 3DMath.cpp 3ds.cpp Camera.cpp Frustum.cpp Init.cpp Main.cpp Md3.cpp c:\program files\microsoft visual studio\vc98\include\vector(48) : warning C4786: ''??0?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@QAE@IABV ?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@ABV?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@1@@Z'' : identifier was truncated to ''255'' characters in the browser information c:\unzipped\groundbobclamping\groundclamping\md3.h(302) : see reference to class template instantiation ''std::vector,class std::allocator >,class std::allocator,class std::allocator > > >'' being compiled c:\program files\microsoft visual studio\vc98\include\vector(61) : warning C4786: ''??0?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@QAE@PBV? $basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@0ABV?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@1@@Z'' : identifier was truncated to ''255'' characters in the browser information c:\unzipped\groundbobclamping\groundclamping\md3.h(302) : see reference to class template instantiation ''std::vector,class std::allocator >,class std::allocator,class std::allocator > > >'' being compiled c:\program files\microsoft visual studio\vc98\include\vector(103) : warning C4786: ''?rbegin@?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@QA E?AV?$reverse_iterator@PAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@AAV12@PAV12@H@2@XZ'' : identifier was truncated to ''255'' characters in the browser information c:\unzipped\groundbobclamping\groundclamping\md3.h(302) : see reference to class template instantiation ''std::vector,class std::allocator >,class std::allocator,class std::allocator > > >'' being compiled c:\program files\microsoft visual studio\vc98\include\vector(105) : warning C4786: ''?rbegin@?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@QB E?AV?$reverse_iterator@PBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@ABV12@PBV12@H@2@XZ'' : identifier was truncated to ''255'' characters in the browser information c:\unzipped\groundbobclamping\groundclamping\md3.h(302) : see reference to class template instantiation ''std::vector,class std::allocator >,class std::allocator,class std::allocator > > >'' being compiled c:\program files\microsoft visual studio\vc98\include\vector(107) : warning C4786: ''?rend@?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@QAE? AV?$reverse_iterator@PAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@AAV12@PAV12@H@2@XZ'' : identifier was truncated to ''255'' characters in the browser information c:\unzipped\groundbobclamping\groundclamping\md3.h(302) : see reference to class template instantiation ''std::vector,class std::allocator >,class std::allocator,class std::allocator > > >'' being compiled c:\program files\microsoft visual studio\vc98\include\vector(108) : warning C4786: ''?rend@?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@QBE? AV?$reverse_iterator@PBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@ABV12@PBV12@H@2@XZ'' : identifier was truncated to ''255'' characters in the browser information c:\unzipped\groundbobclamping\groundclamping\md3.h(302) : see reference to class template instantiation ''std::vector,class std::allocator >,class std::allocator,class std::allocator > > >'' being compiled c:\program files\microsoft visual studio\vc98\include\vector(39) : warning C4786: ''std::reverse_iterator,std::allocator > const *,std::basic_string,std::allocator >,std::basic_string,std::allocator > const &,std::basic_string,std::allocator > const *,int>'' : identifier was truncated to ''255'' characters in the debug information c:\program files\microsoft visual studio\vc98\include\vector(39) : while compiling class-template member function ''__thiscall std::vector,std::allocator >,std::allocator,std::allocator > > >::std::vector,std::allocator >,std::allocator,std::allocator > > >(const std::allocator,std::allocator > > &)'' c:\program files\microsoft visual studio\vc98\include\vector(39) : warning C4786: ''std::reverse_iterator,std::allocator > *,std::basic_string,std::allocator >,std: :basic_string,std::allocator > &,std::basic_string,std::allocator > *,int>'' : identifier was truncated to ''255'' characters in the debug information c:\program files\microsoft visual studio\vc98\include\vector(39) : while compiling class-template member function ''__thiscall std::vector,std::allocator >,std::allocator,std::allocator > > >::std::vector,std::allocator >,std::allocator,std::allocator > > >(const std::allocator,std::allocator > > &)'' Octree.cpp c:\program files\microsoft visual studio\vc98\include\vector(39) : warning C4786: ''std::vector,std::allocator >,std::allocator,std::allocator > > >::vector,std::allocator >,std::allocator,std::allocator > > >'' : identifier was truncated to ''255'' characters in the debug information c:\program files\microsoft visual studio\vc98\include\vector(60) : warning C4786: ''std::vector,std::allocator >,std::allocator,std::allocator > > >::~vector,std::allocator >,std::allocator,std::allocator > > >'' : identifier was truncated to ''255'' characters in the debug information Linking... GroundbobClamping.exe - 0 error(s), 10 warning(s) thanks.

Share this post


Link to post
Share on other sites
Advertisement
That''s the usual warning you get when you use VC++ with its built-in STL. If you want, you can tell the compiler to ignore that warning with #pragma warning(disable,4786) in your files.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!