需要理会在vc6中使用stl所产生的一大堆不知道什么的警告吗?

oxygens 2003-05-20 10:54:05
每次用stl都会产生一大堆警告,以点头绪都没有
那位高手讲讲如何处理呢?就象下面这个
: warning C4786: '__ehhandler$?_Min@?$_Tree@VCModuleAddr@@U?$pair@$$CBVCModuleAddr@@PAVCModuleContext@@@std@@U_Kfn@?$map@VCModuleAddr@@PAVCModuleContext@@VMoudleAddrCmp@@V?$allocator@P
AVCModuleContext@@@std@@@3@VMoudleAddrCmp@@V?$allocator@PAVCModuleContext@@@3@@std@@KAPAU_Node@12@PAU312@@Z' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(551) : warning C4786: '__unwindfunclet$?_Min@?$_Tree@VCModuleAddr@@U?$pair@$$CBVCModuleAddr@@PAVCModuleContext@@@std@@U_Kfn@?$map@VCModuleAddr@@PAVCModuleContext@@VMoudleAddrCmp@@V?$allocat
or@PAVCModuleContext@@@std@@@3@VMoudleAddrCmp@@V?$allocator@PAVCModuleContext@@@3@@std@@KAPAU_Node@12@PAU312@@Z$0' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(574) : warning C4786: '__ehhandler$?_Rrotate@?$_Tree@VCModuleAddr@@U?$pair@$$CBVCModuleAddr@@PAVCModuleContext@@@std@@U_Kfn@?$map@VCModuleAddr@@PAVCModuleContext@@VMoudleAddrCmp@@V?$allocat
or@PAVCModuleContext@@@std@@@3@VMoudleAddrCmp@@V?$allocator@PAVCModuleContext@@@3@@std@@IAEXPAU_Node@12@@Z' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(574) : warning C4786: '__unwindfunclet$?_Rrotate@?$_Tree@VCModuleAddr@@U?$pair@$$CBVCModuleAddr@@PAVCModuleContext@@@std@@U_Kfn@?$map@VCModuleAddr@@PAVCModuleContext@@VMoudleAddrCmp@@V?$all
ocator@PAVCModuleContext@@@std@@@3@VMoudleAddrCmp@@V?$allocator@PAVCModuleContext@@@3@@std@@IAEXPAU_Node@12@@Z$0' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(102) : warning C4786: '__ehhandler$?_Dec@const_iterator@?$_Tree@VCModuleAddr@@U?$pair@$$CBVCModuleAddr@@PAVCModuleContext@@@std@@U_Kfn@?$map@VCModuleAddr@@PAVCModuleContext@@VMoudleAddrCmp@
@V?$allocator@PAVCModuleContext@@@std@@@3@VMoudleAddrCmp@@V?$allocator@PAVCModuleContext@@@3@@std@@QAEXXZ' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(102) : warning C4786: '__unwindfunclet$?_Dec@const_iterator@?$_Tree@VCModuleAddr@@U?$pair@$$CBVCModuleAddr@@PAVCModuleContext@@@std@@U_Kfn@?$map@VCModuleAddr@@PAVCModuleContext@@VMoudleAddr
Cmp@@V?$allocator@PAVCModuleContext@@@std@@@3@VMoudleAddrCmp@@V?$allocator@PAVCModuleContext@@@3@@std@@QAEXXZ$0' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(112) : warning C4786: '__ehhandler$?_Inc@const_iterator@?$_Tree@VCModuleAddr@@U?$pair@$$CBVCModuleAddr@@PAVCModuleContext@@@std@@U_Kfn@?$map@VCModuleAddr@@PAVCModuleContext@@VMoudleAddrCmp@
@V?$allocator@PAVCModuleContext@@@std@@@3@VMoudleAddrCmp@@V?$allocator@PAVCModuleContext@@@3@@std@@QAEXXZ' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(112) : warning C4786: '__unwindfunclet$?_Inc@const_iterator@?$_Tree@VCModuleAddr@@U?$pair@$$CBVCModuleAddr@@PAVCModuleContext@@@std@@U_Kfn@?$map@VCModuleAddr@@PAVCModuleContext@@VMoudleAddr
Cmp@@V?$allocator@PAVCModuleContext@@@std@@@3@VMoudleAddrCmp@@V?$allocator@PAVCModuleContext@@@3@@std@@QAEXXZ$0' : identifier was truncated to '255' characters in the debug information
Linking...

PressureZone.exe - 0 error(s), 36 warning(s)
...全文
68 点赞 收藏 7
写回复
7 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
realdreamer 2003-05-20
昏, 你这是什么版的STL? 微软原版的在vc6下编译不会有警告的
回复
a_stupid_boy 2003-05-20
不用怎么理会,
要是觉得很烦不想让它出现的话
可以加上这样一句 #prama warning (disable:4786)
回复
niu_a 2003-05-20
vc6 中所认的 类型等名称最多255个字符,但是stl由于模板潜套的问题,搞的很长,将被截断
回复
zhangx105504 2003-05-20
#pragma warning(disable: c4786)
回复
zhangx105504 2003-05-20
#pragma warning(disable: 4507)
回复
Cauty45 2003-05-20

在debug时,符号表中将截断255以后的字符。

运行时没有任何问题,只是debug 调试时长符号被截断而已
回复
xiaoyunet 2003-05-20
不用理会在你的cpp文件头里加上#prama warning (disable:4786)告诉编译器不要报告这个警告。
回复
相关推荐
发帖
工具平台和程序库
创建于2007-09-28

2.4w+

社区成员

C/C++ 工具平台和程序库
申请成为版主
帖子事件
创建了帖子
2003-05-20 10:54
社区公告
暂无公告