implicit declaration of function ... is invalid in C99

在頭文件中 #ifndef 後邊的字串不要與別的已經定義過的重複,尤爲是在COPY的程序中,尤爲要注意#ifndef 後邊的是否與定義過的重複。否則其中一個不會被執行,致使該.c文件中的API調用的時候出現警告:implicit declaration of function ... is invalid in C99.
相關文章
相關標籤/搜索