goagengt最近一直gcc warning as error,伴随着几个error

新手小白紧急求助,现在打开VS2015后,运行程序一直这个样子【opencv吧】_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:8,566贴子:
新手小白紧急求助,现在打开VS2015后,运行程序一直这个样子收藏
1&------ 已启动生成: 项目: test, 配置: Release Win32 ------1&
firsttest.cpp1&C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdio.h(1826): error C2733: “sprintf_s”: 不允许重载函数的第二个 C 链接1&
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdio.h(1769): note: 参见“sprintf_s”的声明1&D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\cstdio(50): error C2039: “sprintf”: 不是“`global namespace'”的成员1&D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\cstdio(50): error C2873: “sprintf”: 符号不能用在 using 声明中1&E:\opencv\build\include\opencv2/core/mat.hpp(1965): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失1&E:\opencv\build\include\opencv2/core/persistence.hpp : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失1&E:\opencv\build\include\opencv2/core/utility.hpp : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失1&E:\opencv\build\include\opencv2/core/utility.hpp : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========
来伊份网上商城 史上超优惠 !!
release换成debug
登录百度帐号推荐应用6956人阅读
tools(4)
1,使用info/warning/error增加调试信息
方法1: $(info, &here add the debug info&)
& & & & & &但是此不能打印出.mk的行号
方法2: $(warning, &here add the debug info&)
方法3:&$(error &error: this will stop the compile&)
& & &这个可以停止当前makefile的编译
方法4: 打印变量的值
& & & $(info, $(TARGET_DEVICE) )
2,使用echo增加调试信息(echo只能在target:后面的语句中使用,且前面是个TAB)
方法1:&@echo &start the compilexxxxxxxxxxxxxxxxxxxxxxx&
方法2:&@echo $(files)
&&相关文章推荐
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:52657次
排名:千里之外
原创:39篇
(1)(1)(16)(6)(11)(10)
(window.slotbydup = window.slotbydup || []).push({
id: '4740887',
container: s,
size: '250,250',
display: 'inlay-fix'}

我要回帖

更多关于 佳博gt1224 error 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信