#include <stm32f10x_lib.h> int a; main() { ; } 我程序就剩上面的了,怎么还警告啊 compiling STM32_Init.c... compiling kun_fun_C.C... kun_fun_C.C(9): warning: #1-D: last line of file ends without a newline linking... Program Size: Code=308 RO-data=252 RW-data=0 ZI-data=608 "kun_fun.axf" - 0 Error(s), 1 Warning(s).
main 函数最后的大括号后面加个回车就好了!
|
一点点
最新推荐文章于 2023-10-29 21:32:32 发布