Advertisement

Vector warning

Started by March 25, 2002 08:00 AM
3 comments, last by Jeff D 22 years, 8 months ago
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
Advertisement
Switch it off. It''s the first thing I do in any file that directly includes STL headers (MSVC):
#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
I''ve been wanting to say this for a long time Oluseyi.... You are God!

Jeff D
Suffered seven plagues, but refused to let the slaves go free. ~ Ross Atherton

This topic is closed to new replies.

Advertisement