|
C:\iccv7avr\bin\imakew -f MAIN.mak
iccavr -c -e -D__ICC_VERSION=722 -DATMega16 -l -g -MLongJump -MHasMul -MEnhanced temrun.c
!W F:\ICCAVR\温控2\temrun.c(128):[warning] calling a function without prototype may cause runtime errors if the function
does not return int or unsigned int
!W F:\ICCAVR\温控2\temrun.c(129):[warning] calling a function without prototype may cause runtime errors if the function
does not return int or unsigned int
iccavr -o MAIN -g -e:0x4000 -ucrtatmega.o -bfunc_lit:0x54.0x4000 -dram_end:0x45f -bdata:0x60.0x45f -dhwstk_size:30 -beeprom:0.512 -fihx_coff -S2 @MAIN.lk -lcatmega
Device 15% full.
Done. Thu Nov 08 02:14:50 2012
我明明在前面已经加了头文件
#include "ioconfig.h"
#include "datacomm.h"
#include "pwm.h"
#include "itoa.h"
#include "uart.h"
#include "lcd1602.h"
#include "ds18b20.h"
#include "delay.h"
itoa.h头文件如下
#ifndef _itoa_H__
#define _itoa_H__
unsigned char*tochar(unsigned int num,unsigned char*str);
unsigned char*settochar(unsigned char num,unsigned char*str);
#endif
为什么还有函数未声明的警告? |
阿莫论坛20周年了!感谢大家的支持与爱护!!
知道什么是神吗?其实神本来也是人,只不过神做了人做不到的事情 所以才成了神。 (头文字D, 杜汶泽)
|