#define countof(Array) (sizeof(Array)/sizeof(Array[0]))
GUI_POINT a1[]={
{60,0},{51,7},{43,14},{35,21},{30,28},{27,35},{25,42},{23,50},{22,58},
{24,58},{25,50},{27,42},{29,35},{32,28},{37,21},{45,14},{53,7},{62,2}
};
int main(void)
{
ledd_init();
oled_init();
SystemInit();
GUI_Init();
GUI_AA_SetFactor(4);
GUI_AA_EnableHides();
GUI_Clear();
GUI_AA_FillPolygon( a1,18,0,0);
}
main.c(49): warning: #223-D: function "GUI_AA_EnableHides" declared implicitly
main.c(55): error: #77-D: this declaration has no storage class or type specifier
main.c(56): error: #169: expected a declaration
cann.c(154): warning: #61-D: integer operation result is out of range
为啥会出现这些问题,GUI_Conf.h文件中 GUI_SUPPORT_AA也设置成1了,但编译还是不过,求大神指导
这个叹号的警告内容是warning: implicit declaration of function 'GUI_AA_EnableHides' is
invalid in c99
|