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.
Post a Followup