什么情況?
In file included from hello.c:2:0:
test.c: In function 'say':
test.c:3:5: warning: implicit declaration of function 'printLine' [-Wimplicit-function-declaration]
???? printLine();
???? ^~~~~~~~~
hello.c: At top level:
hello.c:3:13: warning: conflicting types for 'printLine'
?extern void printLine ()???? //這里定義的方法對嗎?
???????????? ^~~~~~~~~
In file included from hello.c:2:0:
test.c:3:5: note: previous implicit declaration of 'printLine' was here
???? printLine();
???? ^~~~~~~~~
test.c: In function 'say':
test.c:3:5: warning: implicit declaration of function 'printLine' [-Wimplicit-function-declaration]
???? printLine();
???? ^~~~~~~~~
**************
I love imooc
good good study!
day day up!
**************
2020-10-20
有警告(就是有warning) 但警告不等于錯