Vector warning
This is not really a problem:
Well I came upon a little warning that is bugging me well I got a class that has a vector of another class. And in that class I have a vector of strings. All using the STL headers. Now I get this little warning that says a lot of template gibberish then says it passes the 255 character limit for the debugger and is truncated. Will this affect the program at all? I really don''t think so but I know you ppl will know.
Jeff D
Suffered seven plagues, but refused to let the slaves go free. ~ Ross Atherton
I''ve had this before. It won''t affect your program but it sure is annoying.
Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions
Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions
Switch it off. It''s the first thing I do in any file that directly includes STL headers (MSVC):
[ GDNet Start Here | GDNet Search Tool | GDNet FAQ | MS RTFM [MSDN] | SGI STL Docs | Google! ]
Thanks to Kylotan for the idea!
#pragma warning( disable : 4786 4503 )
[ GDNet Start Here | GDNet Search Tool | GDNet FAQ | MS RTFM [MSDN] | SGI STL Docs | Google! ]
Thanks to Kylotan for the idea!
Cheers Oluseyi. I''m not too keen on using pragmas but this seems like a worthy cause.
Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions
Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement