---
title: "C系列： 关于implicit declaration of function的warning"
author: "justshare"
date: "2009-06-11T10:29:24Z"
tags: []
slug: "c-implicit-declaration-of-function-warning"
draft: false
lastmod: "2009-06-11T10:46:46Z"
id: 406463
url: "https://justshare.iteye.com/blog/406463"
---

用gcc编译c程序的时候 经常会出现
implicit declaration of function '...' 的warning 

1  没有把函数所在的c文件生成.o目标文件;
2  在函数所在的c文件中声明了，但是没有在调用它的.h或.c文件中声明;
3  其头文件都声明过了，所调用的函数的原型与所传的实参类型不匹配.

ZZ
<http://www.lupaworld.com/bbs/thread-29876-1-1.html>