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.
您好,
这将取决于文件最初从哪里获取声明/定义(open declaration vs open definition)。
例如,如果它是一个包含在头文件中的 extern,CCS 很可能会引导你到头文件。
这对实际代码没有影响,只是 CCS 对它认为函数或变量第一次定义位置的解释。
可使用Ctrl+F搜索定位。