[STM32] 在使用ucgui的抗锯齿时,编译不通过,求大神指导

[复制链接]
1357|0
 楼主| 辉色天空 发表于 2015-4-18 20:40 | 显示全部楼层 |阅读模式
#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


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
您需要登录后才可以回帖 登录 | 注册

本版积分规则

20

主题

34

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部