bmp.c: 在函数‘get_lcd_event’中:
bmp.c:5:1: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
bmp.c:52:5: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
In file included from bmp.h:6:0,
from bmp.c:1:
lcd.h:14:5: 错误: 原型函数定义中使用了旧式参数声明
int get_lcd_event(int* x,int* y)
^
bmp.c:70:5: 错误: expected ‘{’ at end of input
}
^
light.c: 在函数‘get_lcd_event’中:
light.c:6:1: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
light.c:15:1: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
light.c:27:1: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
light.c:38:1: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
light.c:49:1: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
light.c:75:1: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
light.c:86:1: 错误: expected ‘{’ at end of input
}
^
lcd.c: 在函数‘get_lcd_event’中:
lcd.c:6:1: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
In file included from lcd.c:1:0:
lcd.h:14:5: 错误: 原型函数定义中使用了旧式参数声明
int get_lcd_event(int* x,int* y)
^
lcd.c:68:1: 错误: expected ‘{’ at end of input
}
^
main.c: 在函数‘get_lcd_event’中:
main.c:9:1: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
In file included from main.c:3:0:
lcd.h:14:5: 错误: 原型函数定义中使用了旧式参数声明
int get_lcd_event(int* x,int* y)
^
main.c:14:1: 错误: expected ‘{’ at end of input
}
^
game.c: 在函数‘get_lcd_event’中:
game.c:5:1: 错误: 形参‘flag’已初始化
int flag = 0; // 全局变量,当前玩家标志(0或1)
^
game.c:6:1: 错误: 形参‘Game_buf’已初始化
unsigned int Game_buf[12][20] = {0}; //12x20的游戏棋盘
^
game.c:9:1: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
game.c:21:1: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
game.c:34:1: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
game.c:48:1: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
In file included from game.c:1:0:
lcd.h:14:5: 错误: 原型函数定义中使用了旧式参数声明
int get_lcd_event(int* x,int* y)
^
game.c:85:1: 错误: expected ‘{’ at end of input
}
^