惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
Vercel News
Vercel News
C
Check Point Blog
G
Google Developers Blog
博客园 - 司徒正美
量子位
Engineering at Meta
Engineering at Meta
S
SegmentFault 最新的问题
Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
A
About on SuperTechFans
美团技术团队
D
DataBreaches.Net
Stack Overflow Blog
Stack Overflow Blog
Jina AI
Jina AI
Y
Y Combinator Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Apple Machine Learning Research
Apple Machine Learning Research
J
Java Code Geeks
MongoDB | Blog
MongoDB | Blog
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Cloudflare Blog
U
Unit 42

博客园 - Seraph's Zone(WelCome)

ADO 数据类型转换表[转] 对FckEditor编辑器在MAXTHON浏览器下选择服务器文件对话框显示不正常的改进 [转]写给C++程序员的C# FAQ [Invalid postback or callback argument]昨晚调试程序时出现的问题,MARK一下 试图运行项目时出错:无法在web服务器上启动项目得解决办法 右键无法查看网页源代码修复方法 javascript去空格函数 asp.net程序编译调试时偶尔出现访问被拒绝的错误 使用VS2003创建WEB程序的时候出现"AutoMation服务器不能创建对象"错误 如何在ViewState中保存和取出自己定义的类 ASP.NET开发-实用技巧 (“~”的用法、保存滚动条的位置……) Visual Studio.Net 快捷键表 asp.net 获取插入记录的ID url传递中文的解决方案 (转) 解决ASP.NET2.0和1.1在同一台电脑上不能并行的问题(转) 创建插件框架(1) 利用SQLDMO进行数据库备份还原操作 VS2005 常用快捷键 将文件长路径转换为短路径(DOS路径)
VC中identifier was truncated to '255'
Seraph's Zone(WelCome) · 2007-06-22 · via 博客园 - Seraph's Zone(WelCome)

From http://www.blog.edu.cn/user3/jingshuang/archives/2006/1590091.shtml

VC中使用STL出现的警告.

当在使用STL时,VC有时会提出类似以下的警告:
Compiling...
test.cpp
C:\Windows\Desktop\test\test.cpp(13) : warning C4786: 'std::reverse_iterator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const *,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::basic_string<char,std
::char_traits<char>,std::allocator<char> > const &,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const *,int>' : identifier was truncated to '255' characters in the debug information

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/C4786.asp给了很好的解释.
都是因为VC对STL的不完全支持造成的.

解决方法:
#ifdef WIN32
  #pragma warning (disable: 4514 4786)
#endif