murong@ubuntu:~/workspace/les2$ vim les2.c
murong@ubuntu:~/workspace/les2$ gcc max.o les2.c
les2.c: In function ‘main’:
les2.c:7:16: warning: implicit declaration of function ‘max’ [-Wimplicit-function-declaration]
int maxNum=max(a,b);
为什么会这样,
有啊#include "max.o"
在les2.c中有声明max吗?