我用VC6.0编译一个程序时,老是出这样的错误,请问是什么意思啊?

来源:百度知道 编辑:UC知道 时间:2024/05/10 13:00:24
d:\microsoft visual studio\vc98\include\xtree(120) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,double>,std::m
ap<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,double,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<double> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,st
d::allocator<char> > >,std::allocator<double> >' : identifier was truncated to '255' characters in the debug information

msdn上是这样解释的:
the identifier string exceeded the maximum allowable length and was truncated.
the debugger cannot debug code with symbols longer than 255 characters. in the debugger, you cannot view, evaluate, update, or watch the truncated symbols.

this limitation can be overcome by shortening identifier names. the example code below demonstrates this method.

好像是因为的你变量的命名长度太长了