Re: weird warning???


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by John Kugelman on April 24, 2001 at 00:32:23:

In Reply to: weird warning??? posted by David Cavitt on April 23, 2001 at 22:36:27:

David Cavitt wrote:

when I compile my program I get this weird warning. I think it has something to do with me using the vector STL but I'm not sure any help would be great thanks. The main thing I'm curious about is the last line of the warning about how it truncated to 255 characters???

warning C4786: 'extremely-long-template-name' : identifier was truncated to '255' characters in the debug information

This is a noted problem with the STL headers in Visual C++. You can disable the warning with the line

#pragma warning(disable: 4786)

before you include the STL headers. The easiest thing to do is stick the #pragma in some global header file and include that header in each file before any others.




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]