Getting rid of the following warnings..
-
I am reading a file and getting the key and values. I am putting the keys and values in the map. When I run the program I get many number of warnings like... warningC4786: 'std::_Tree,std::allocator >,std::pair,std::allocator > const , std::basic_string,std::allocator > >,std::map,std::allocator >,std::basic_string,std::allocator >,std::less,std::allocator > >,std::allocator,std::allocator > > >::_Kfn,std::less,std::allocator > >,std::allocator,std::allocator > > >' : identifier was truncated to '255' characters in the debug information c:\program files\microsoft visual studio\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree,std::allocator >,std::pair,std::allocator > const ,std::basic_string,std::allocator > >,std::map,std::allocator >,std::basic_string,std::allocator >,std::less,std::allocator > >,std::allocator,std::allocator > > >::_Kfn,std::less,std::allocato r > >,std::allocator,std::allocator > > >' being compiled F:\Main Project\Coding\DLL_logging_Utility\properties.cpp(41) : see reference to class template instantiation 'std::map,std::allocator >,std::basic_string,std::a llocator >,std::less,std::allocator > >,std::allocator,std::allocator > > >' being compiled THANKS
-
I am reading a file and getting the key and values. I am putting the keys and values in the map. When I run the program I get many number of warnings like... warningC4786: 'std::_Tree,std::allocator >,std::pair,std::allocator > const , std::basic_string,std::allocator > >,std::map,std::allocator >,std::basic_string,std::allocator >,std::less,std::allocator > >,std::allocator,std::allocator > > >::_Kfn,std::less,std::allocator > >,std::allocator,std::allocator > > >' : identifier was truncated to '255' characters in the debug information c:\program files\microsoft visual studio\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree,std::allocator >,std::pair,std::allocator > const ,std::basic_string,std::allocator > >,std::map,std::allocator >,std::basic_string,std::allocator >,std::less,std::allocator > >,std::allocator,std::allocator > > >::_Kfn,std::less,std::allocato r > >,std::allocator,std::allocator > > >' being compiled F:\Main Project\Coding\DLL_logging_Utility\properties.cpp(41) : see reference to class template instantiation 'std::map,std::allocator >,std::basic_string,std::a llocator >,std::less,std::allocator > >,std::allocator,std::allocator > > >' being compiled THANKS
Never heard of google, do you ? See here[^] what you can find with a very basic search.
Cédric Moonen Software developer
Charting control [v1.4] -
I am reading a file and getting the key and values. I am putting the keys and values in the map. When I run the program I get many number of warnings like... warningC4786: 'std::_Tree,std::allocator >,std::pair,std::allocator > const , std::basic_string,std::allocator > >,std::map,std::allocator >,std::basic_string,std::allocator >,std::less,std::allocator > >,std::allocator,std::allocator > > >::_Kfn,std::less,std::allocator > >,std::allocator,std::allocator > > >' : identifier was truncated to '255' characters in the debug information c:\program files\microsoft visual studio\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree,std::allocator >,std::pair,std::allocator > const ,std::basic_string,std::allocator > >,std::map,std::allocator >,std::basic_string,std::allocator >,std::less,std::allocator > >,std::allocator,std::allocator > > >::_Kfn,std::less,std::allocato r > >,std::allocator,std::allocator > > >' being compiled F:\Main Project\Coding\DLL_logging_Utility\properties.cpp(41) : see reference to class template instantiation 'std::map,std::allocator >,std::basic_string,std::a llocator >,std::less,std::allocator > >,std::allocator,std::allocator > > >' being compiled THANKS
i will strongly second Cedric. you already asked too much dumb question without event seeking yourself a bit about how to solve them first. so in brief, GOOGLE IS YOUR FRIEND. don't feel lazy to ask it ! ok. then, either recompile in release mode to have these disapear, or add this in a header that is defining those template classes:
// Identifier was truncated to '255' characters in the debug information #pragma warning (disable: 4786)
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]