嵌入式 warning: implicit declaration of function 'xxx'
2013-12-02 14:54
656 查看
最近在做hi3518c编解码,在改掉所有的warning时老报一个implicit declaration offunction 的警告错误,上网查了下原因,原来有两种情况会产生这种情况
1 没有把函数所在的c文件生成.o目标文件
2 在函数所在的c文件中定义了,但是没有在与之相关联的.h文件中声明
1 没有把函数所在的c文件生成.o目标文件
2 在函数所在的c文件中定义了,但是没有在与之相关联的.h文件中声明
相关文章推荐
- 如何解决warning:implicit declaration of function 'xxx'
- implicit declaration of function '...' 的warning
- error: implicit declaration of function 'xxx'
- warning incompatible implicit declaration of built-in function 'printf'
- warning:implicit declaration of function 'free'
- warning: implicit declaration of function导致core
- gcc下编译出现warning:implicit declaration of function 'strdup'和warning:implicit declaration of function 'gethostname'
- Linux 编程 出现警告warning: implicit declaration of function 'pread'('pwrite')
- warning incompatible implicit declaration of built-in function 'printf'
- iOS Implicit declaration of function XXX is invalid in C99”
- C语言中,函数不申明也能使用,但会出现warning: implicit declaration of function
- C语言中,函数不声明也能使用,但会出现warning: implicit declaration of function
- C语言中,函数不申明也能使用,但会出现warning: implicit declaration of function
- C系列: 关于implicit declaration of function的warning
- 解决warning:implicit declaration of function 'Xil_Out32' [-Wimplicit-function-declaration]
- C和指针之编译出现warning: implicit declaration of function 'matrix_multiply' is invalid in C99问题
- Xcode解决“Implicit declaration of function 'XXX' is invalid in C99” 警告或报错
- iOS Implicit declaration of function XXX is invalid in C99”
- 关于 implicit declaration of function --Which should not record for myself
- Implicit declaration of function 'SecItemExport' is invalid in C99