compiling 11.c...11.c(4): warning C318: can't open file 'lcd_1602.h'11.c(5): warning C318: can't open file 'key.h'11.c(6): warning C318: can't open file 'IIC_24C04.h'11.C(55): warning C206: 'lcd_init'...
http://www.51hei.com/bbs/dpj-24701-1.html
我编译时,显示lianxi_jianpan.c(54): warning C206: 'dispay':
missing
function
-
prototype
#include
#define uint unsigned int
#define uchar unsigned c
/******************************************************************************
*
单片机
温度检测系统
*******************************************************************************/
#include <reg52.h>
#include "delay.h"
#include "key.h"
#include "l...
这个问题是根本原因是编译的代码中存在未声明函数,即“缺少函数原型”错误。多文件编程中比较多,导致的原因也很多,下面总结几个用于大家排查自己
报错
代码。
1、“头文件卫士”宏定义的失误。
有时候为了方便,一个功能函数文件*.c、*.h直接复制几份加以修改,然而这样稍不留神就会导致头文件里的“#ifndef XXXX”忘记修改,导致两份头文件的选择编译宏相同,原本用来防止重复编译的头文件卫士现在直接导致第二份代码的头文件无法被正常预处理插入代码中。
宏名较长时由于看起来比较相...
今天给大家分享一个大家可能经常见的错误提示:**error C267 'Beep_Led_yellow'
require
s
ANSI
-
style
prototype
**