打印
[STM8]

编译问题

[复制链接]
1039|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
czx2014|  楼主 | 2015-1-14 23:09 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
----------- Project 2 - STM8 Cosmic - Configuration Debug -------------

Compiling drv_base_timer.c...
cxstm8 +debug -pxp -no -l +mods0 -pp -i"C:\Program Files (x86)\COSMIC\CXSTM8_32K\Hstm8"  -clDebug\ -coDebug\ drv_base_timer.c
drv_base_timer.c:

Compiling main.c...
cxstm8 +debug -pxp -no -l +mods0 -pp -i"C:\Program Files (x86)\COSMIC\CXSTM8_32K\Hstm8"  -clDebug\ -coDebug\ main.c
#error cpstm8 main.c:44(4) missing prototype
main.c:
The command: "cxstm8 +debug -pxp -no -l +mods0 -pp -i"C:\Program Files (x86)\COSMIC\CXSTM8_32K\Hstm8"  -clDebug\ -coDebug\ main.c " has failed, the returned value is: 1
exit code=1.

2.elf - 3 error(s), 0 warning(s)
沙发
戈卫东| | 2015-1-14 23:19 | 只看该作者
main.c:44(4) missing prototype

使用特权

评论回复
板凳
czx2014|  楼主 | 2015-1-15 09:26 | 只看该作者
   在主函数中调用其他函数,会出现这种提示: missing prototype。调用的函数在其他头文件中声明过了,并且头文件也包含进来了。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

6

主题

20

帖子

0

粉丝