waring or error
解决MFC中的的错误与警告进行
在狂风中的少年
比我优秀的人都那么拼命,我还有什么理由不努力。
展开
-
【VS 2017】报错error C2664解决方式
报错:解决办法:选中项目,然后点击属性——>配置属性——>常规——>项目默认值——>字符集,选为“使用多字节字符集"如图:原创 2021-06-25 01:26:04 · 4167 阅读 · 0 评论 -
VS2013报错 error MSB8031解决方法
问题:error MSB8031: Building an MFC project for a non-Unicode character set is deprecated. You must change the project property to Unicode or download an additional library. See http://go.microsoft.com/fwlink/p/?LinkId=286820 for more information.经过查阅发现是原创 2021-06-24 02:30:15 · 734 阅读 · 0 评论 -
string字符串copy函数的C4996错误
文章目录将string的内容copy到数组中时:string s1 = "aaa";s1.copy(buff, 2, 0); error C4996: 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::copy': Function call with parameters that may be unsafe - this call relies on the call原创 2021-06-09 00:06:27 · 292 阅读 · 0 评论 -
warning LNK4075
文章目录warning LNK4075: 忽略”/EDITANDCONTINUE”(由于”/INCREMENTAL:NO”规范)warning LNK4075: 忽略”/EDITANDCONTINUE”(由于”/INCREMENTAL:NO”规范)配置属性 --> 链接器 --> 常规 --> 启动增量链接, 选择“是(/INCREMENTAL)”;配置属性 --> C/C++ --> 常规 --> 调试信息格式,选择“程序数据库(/Zi)”...原创 2021-06-07 00:35:38 · 398 阅读 · 0 评论