最近用STM32CubeIDE开发STM32程序时,编译报警告:
warning: _close is not implemented and will always fail
warning: _lseek is not implemented and will always fail
warning: _read is not implemented and will always fail
warning: _write is not implemented and will always fail
经过一番摸索,发现是“Source Location”没有添加新目录。解决方法:
1)右击项目选择“Properties”,选中“Paths and Symobols”,选择“Source Location”选项卡
2)添加自己新组织的目录或新建的目录
3)重新编译,警告消失
————————————————
版权声明:本文为CSDN博主「propor」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/propor/article/details/134435933
|