STL (silly) Warings
-
I get lots of warnings when working with STL in debug. In fact I always get the same: warning C4786: ... identifier was truncated to '255' characters in the debug information I thought that including a pragma like
#pragma warning(disable: 4786)
would the twist. But I still get the warnings. Anybody has a (miracle) solution? Jonathan de Halleux, Belgium. -
I get lots of warnings when working with STL in debug. In fact I always get the same: warning C4786: ... identifier was truncated to '255' characters in the debug information I thought that including a pragma like
#pragma warning(disable: 4786)
would the twist. But I still get the warnings. Anybody has a (miracle) solution? Jonathan de Halleux, Belgium.Put the
#pragma
before including any STL header. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo -
I get lots of warnings when working with STL in debug. In fact I always get the same: warning C4786: ... identifier was truncated to '255' characters in the debug information I thought that including a pragma like
#pragma warning(disable: 4786)
would the twist. But I still get the warnings. Anybody has a (miracle) solution? Jonathan de Halleux, Belgium. -
I get lots of warnings when working with STL in debug. In fact I always get the same: warning C4786: ... identifier was truncated to '255' characters in the debug information I thought that including a pragma like
#pragma warning(disable: 4786)
would the twist. But I still get the warnings. Anybody has a (miracle) solution? Jonathan de Halleux, Belgium. -
Check out this (http://www.paulgrenyer.co.uk/pglibrary/disable4786_8h-source.html[^]) link to defeat this annoying problem once and for all. J
Where do you have to insert it ? Jonathan de Halleux, Belgium.
-
Thanks for the tip ! It's great ! Jonathan de Halleux, Belgium.