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.

自建C文件的函数定义无法被定位



是这样的,我自己建了一个c文件,然后定义了这个函数,没有声明其他变量;之后在对应的h文件中外部声明了这个函数。主函数里面#include了这个h文件。编译不报错,但有几个#552-D parameter "Ta" was set but never used 这样 的警告。我在主函数的这个函数按F3能定位到外部声明的地方,在声明的地方按F3却不能顶外到函数定义的地方。不知道这个函数能不能被调用,还没试。

请问这种情况正常么?不正常的话怎么解决?