我在使用C语言编程,我的gcc编译器在mySecondFile.c
中的函数调用中给了我以下警告:
implicit declaration of function 'func'
该函数原型在myfile.h
中声明为:
void func(char*);
函数定义在myfile.c
中。
void func(char*x);
mySecondFile.c
包含:
#include "myfile.h"
func("Hello");
我不明白这会引发什么投诉。