This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS3.3函数未外部声明,编译不报错



在test.c文件下定义函数A();

在main.c文件下函数B()对未进行函数A();的外部声明调用,编译时,编译器未报error,只是报waring。

问题:如何让这种情况下,编译器编译时报错误?