Warning[w6]: Type conflict for external/entry “putchar”, in module ?iostream_cin against external/entry in module putchar; function return types are different; different basic types
函数putchar和C stdlib.h 内定义的函数重名,具体警告原因不清楚,但是这个错误导致在51单片机运行串口输出的时候指针传值出错。IAR 环境下。将自己定义的putchar 重命名即可。
Warning[w6]
最新推荐文章于 2021-09-28 21:58:31 发布