const int8_t a[10] = “hello”; strlen(a); 编译时就会警告Warning[Pe167]: argument of type "int8_t const*" is incompatible with parameter of type "char const*" 这里的int8_t就与strlen()原型的char冲突,导致编译告警
收藏0 举报
本版积分规则 发表回复 回帖并转播 回帖后跳转到最后一页
等级类勋章
发帖类勋章
时间类勋章
人才类勋章
17
66
0
扫码关注 21ic 官方微信
扫码关注嵌入式微处理器
扫码关注电源系统设计
扫码关注21ic项目外包
扫码浏览21ic手机版
本站介绍 | 申请友情链接 | 欢迎投稿 | 隐私声明 | 广告业务 | 网站地图 | 联系我们 | 诚聘英才
京公网安备 11010802024343号