stm32g474ret6移植letter-shell的时候,有个警告如下:
Issue里有解决方法屏蔽 MDK ACV6.19 shell_ext.c (320): -Wdeprecated-non-prototype 警告
我用的是VSCode+EIDE,在 “构建器选项”的“C/C++编译器”里的“C 编译器附加选项”添加-Wno-deprecated-non-prototype
就好了
解决warning: passing arguments to a function without a prototype is deprecated in all versions of C
最新推荐文章于 2024-04-13 08:57:57 发布