在编译时遇到错误error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token,可能以下几点原因: 1.头文件前面未加#; 2.函数声明未加分号;