4618|4

68

帖子

0

TA的资源

一粒金砂(初级)

楼主
 

wince下string、vector、pair等的使用方法 [复制链接]

在wince下如何使用string、vector、pair

现在我使用string的时候已经没有什么问题了,添加了编译选项/GX之后,警告也没有了
但是现在使用vector会出现很多警告
使用pair还会出现错误


大家帮忙解决一下,谢谢

最新回复

你直接在baidu或google中搜索 “identifier was truncated to '255' characters in the debug information ” 就会有答案了。  详情 回复 发表于 2008-8-26 10:29
点赞 关注

回复
举报

66

帖子

0

TA的资源

一粒金砂(初级)

沙发
 
d:\myproj\iniclass\cini818\cini\initest.cpp(21) : warning C4786: 'std::reverse_iterator,std::allocator > const *,std::basic_string,std::allocator >,std::basic_stri
ng,std::allocator > const &,std::basic_string,std::allocator > const *,int>' : identifier was truncated to '255' characters in the debug information
d:\myproj\iniclass\cini818\cini\initest.cpp(21) : warning C4786: 'std::reverse_iterator,std::allocator > *,std::basic_string,std::allocator >,std::basic_string r,std::char_traits,std::allocator > &,std::basic_string,std::allocator > *,int>' : identifier was truncated to '255' characters in the debug information
Generating Code...
d:\program files\windows ce tools\wce420\cortoi\include\armv4\vector(51) : warning C4786: 'std::vector,std::allocator >,std::allocator,std::allocator har> > > >::vector,std::allocator >,std::allocator,std::allocator > > >' : identifier was truncated to '255' characters in the debug information
d:\program files\windows ce tools\wce420\cortoi\include\armv4\vector(72) : warning C4786: 'std::vector,std::allocator >,std::allocator,std::allocator har> > > >::~vector,std::allocator >,std::allocator,std::allocator > > >' : identifier was truncated to '255' characters in the debug information
Linking...




上面是使用vector之后出现的警告
没有错误
 
 

回复

65

帖子

0

TA的资源

一粒金砂(初级)

板凳
 
d:\myproj\iniclass\cini818\cini\initest.cpp(21) : warning C4786: 'std::vector,std::allocator >,std::pair,std::allocator >,std::basic_st
ring,std::allocator > > >,std::allocator,std::allocator >,std::pair,std::allocator >,std::basic_strin
g,std::allocator > > > > >' : identifier was truncated to '255' characters in the debug information
d:\myproj\iniclass\cini818\cini\initest.cpp(21) : warning C4786: 'std::reverse_iterator,std::allocator >,std::pair,std::allocator >,std
::basic_string,std::allocator > > > const *,std::pair,std::allocator >,std::pair,std::allocator >,std::basic_st
ring,std::allocator > > >,std::pair,std::allocator >,std::pair,std::allocator >,std::basic_string r_traits,std::allocator > > > const &,std::pair,std::allocator >,std::pair,std::allocator >,std::basic_string har>,std::allocator > > > const *,int>' : identifier was truncated to '255' characters in the debug information
d:\myproj\iniclass\cini818\cini\initest.cpp(21) : warning C4786: 'std::reverse_iterator,std::allocator >,std::pair,std::allocator >,std
::basic_string,std::allocator > > > *,std::pair,std::allocator >,std::pair,std::allocator >,std::basic_string har,std::char_traits,std::allocator > > >,std::pair,std::allocator >,std::pair,std::allocator >,std::basic_string ts,std::allocator > > > &,std::pair,std::allocator >,std::pair,std::allocator >,std::basic_string,std::al
locator > > > *,int>' : identifier was truncated to '255' characters in the debug information
d:\myproj\iniclass\cini818\cini\initest.cpp(21) : warning C4786: 'vector,std::allocator >,std::pair,std::allocator >,std::basic_string<
char,std::char_traits,std::allocator > > >,std::allocator d:\myproj\iniclass\cini818\cini\initest.cpp(21) : warning C4786: '~vector,std::allocator >,std::pair,std::allocator >,std::basic_string
,std::allocator > > >,std::allocator d:\myproj\iniclass\cini818\cini\initest.cpp(21) : warning C4786: 'std::vector,std::allocator >,std::pair,std::allocator >,std::basic_st
ring,std::allocator > > >,std::allocator,std::allocator >,std::pair,std::allocator >,std::basic_strin
g,std::allocator > > > > >' : identifier was truncated to '255' characters in the debug information
Generating Code...
d:\program files\windows ce tools\wce420\cortoi\include\armv4\vector(51) : warning C4786: 'std::vector,std::allocator >,std::pair,std::alloca
tor >,std::basic_string,std::allocator > > >,std::allocator,std::allocator >,std::pair,std::allocator
>,std::basic_string,std::allocator > > > > >::vector,std::allocator >,std::pair,std::allocator
>,std::basic_string,std::allocator > > >,std::allocator,std::allocator >,std::pair,std::allocator >,
std::basic_string,std::allocator > > > > >' : identifier was truncated to '255' characters in the debug information
 
 
 

回复

66

帖子

0

TA的资源

一粒金砂(初级)

4
 
d:\program files\windows ce tools\wce420\cortoi\include\armv4\vector(72) : warning C4786: 'std::vector,std::allocator >,std::pair,std::alloca
tor >,std::basic_string,std::allocator > > >,std::allocator,std::allocator >,std::pair,std::allocator
>,std::basic_string,std::allocator > > > > >::~vector,std::allocator >,std::pair,std::allocator > >,std::basic_string,std::allocator > > >,std::allocator,std::allocator >,std::pair,std::allocator >
,std::basic_string,std::allocator > > > > >' : identifier was truncated to '255' characters in the debug information
d:\program files\windows ce tools\wce420\cortoi\include\armv4\vector(243) : warning C4786: 'std::vector,std::allocator >,std::pair,std::alloc
ator >,std::basic_string,std::allocator > > >,std::allocator,std::allocator >,std::pair,std::allocato
r >,std::basic_string,std::allocator > > > > >::_Destroy' : identifier was truncated to '255' characters in the debug information
d:\program files\windows ce tools\wce420\cortoi\include\armv4\xmemory(76) : warning C4786: 'std::allocator,std::allocator >,std::pair,std::al
locator >,std::basic_string,std::allocator > > > >::deallocate' : identifier was truncated to '255' characters in the debug information
d:\program files\windows ce tools\wce420\cortoi\include\armv4\xmemory(80) : warning C4786: 'std::allocator,std::allocator >,std::pair,std::al
locator >,std::basic_string,std::allocator > > > >::destroy' : identifier was truncated to '255' characters in the debug information
warning C4786: 'std::pair,std::allocator >,std::pair,std::allocator >,std::basic_string,std::allocator > > >::`
scalar deleting destructor'' : identifier was truncated to '255' characters in the debug information
warning C4786: 'std::pair,std::allocator >,std::pair,std::allocator >,std::basic_string,std::allocator > > >::~
pair,std::allocator >,std::pair,std::allocator >,std::basic_string,std::allocator > > >' : identifier was trunc
ated to '255' characters in the debug information
warning C4786: 'std::pair,std::allocator >,std::basic_string,std::allocator > >::~pair,std::allocator >,std::ba
sic_string,std::allocator > >' : identifier was truncated to '255' characters in the debug information
warning C4786: 'std::vector,std::allocator >,std::pair,std::allocator >,std::basic_string,std::allocator ar> > > >,std::allocator,std::allocator >,std::pair,std::allocator >,std::basic_string,std::allocator
> > > > >' : identifier was truncated to '255' characters in the debug information
Linking...



这个是使用vector和pair之后警告
 
 
 

回复

80

帖子

0

TA的资源

一粒金砂(初级)

5
 

你直接在baidu或google中搜索


“identifier was truncated to '255' characters in the debug information ”
就会有答案了。
 
 
 

回复
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/10 下一条
艾睿电子& Silicon Labs 有奖直播 | 全新蓝牙信道探测:从技术创新到实际应用
直播时间:3月12日(周三)上午10:00
直播奖励:多功能榨汁机、蓝牙音箱、手机支架

查看 »

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表