Closed zq190kg closed 5 years ago
用keil4 和keil5都一样,很多警告和错误
把awtk-master改名为awtk。另外更新一下awtk-stm32f103ze-raw。
我刚下载最新的awtk核f103的工程了,用keil4和keil5编译,还是出现很多错误,请问作者,这个是不是我哪里设置问题?我下载后,就直接编译了,没有做任何修改。 方便打包下你手上可以编译的那个工程,直接压缩放上来吗?这样可以更快的解决问题。
我刚删除本机代码,重新从github上获取(git clone),然后用keil5编译,没有问题啊。
你好,我尝试过两种方法获取代码 1:download 压缩文件,解压 2:用git 的clone功能,用git desk下载到电脑上 然后将awtk文件夹复制到awtk-stm32f103ze-raw文件夹里面去,直接用keil4打开编译,出现错误的。
请问这种情况是由上面原因造成的?请问你的keil4的版本是上面?我用keil5也是一样,很多编译错误。肯定是其中有什么问题导致的。。。。。
请看看上面帖的错误内容,为什么会出现这种情况?
你把完成的log贴上来看看。
** Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Rebuild target 'awtk' compiling main.c... compiling stm32f10x_it.c... compiling system_stm32f10x.c... compiling sys.c... compiling usart.c... compiling core_cm3.c... assembling startup_stm32f10x_hd.s... compiling misc.c... compiling stm32f10x_gpio.c... compiling stm32f10x_rcc.c... compiling stm32f10x_usart.c... compiling stm32f10x_exti.c... compiling stm32f10x_iwdg.c... compiling stm32f10x_wwdg.c... compiling stm32f10x_tim.c... compiling stm32f10x_bkp.c... compiling stm32f10x_fsmc.c... compiling stm32f10x_pwr.c... compiling stm32f10x_rtc.c... compiling stm32f10x_dma.c... compiling stm32f10x_spi.c... compiling stm32f10x_flash.c... compiling stm32f10x_sdio.c... compiling led.c... compiling button.c... compiling lcd_driver.c... compiling tim.c... compiling rtc.c... compiling touch.c... compiling spi.c... compiling gui.c... compiling bitmap.c... ..\awtk\src\base/pixel.h(41): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_rgb565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(41): error: #65: expected a ";" static inline void pixel_rgb565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(61): warning: #12-D: parsing restarts here after previous syntax error } pixel_bgr565_t; ..\awtk\src\base/pixel.h(71): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_bgr565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(71): error: #65: expected a ";" static inline void pixel_bgr565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(101): warning: #12-D: parsing restarts here after previous syntax error } pixel_rgb888_t; ..\awtk\src\base/pixel.h(111): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_rgb888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(111): error: #65: expected a ";" static inline void pixel_rgb888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(132): warning: #12-D: parsing restarts here after previous syntax error } pixel_bgr888_t; ..\awtk\src\base/pixel.h(141): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_bgr888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(141): error: #65: expected a ";" static inline void pixel_bgr888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(163): warning: #12-D: parsing restarts here after previous syntax error } pixel_rgba8888_t; ..\awtk\src\base/pixel.h(174): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_rgba8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(174): error: #65: expected a ";" static inline void pixel_rgba8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(196): warning: #12-D: parsing restarts here after previous syntax error } pixel_abgr8888_t; ..\awtk\src\base/pixel.h(207): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_abgr8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(207): error: #65: expected a ";" static inline void pixel_abgr8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(229): warning: #12-D: parsing restarts here after previous syntax error } pixel_bgra8888_t; ..\awtk\src\base/pixel.h(240): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_bgra8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(240): error: #65: expected a ";" static inline void pixel_bgra8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(262): warning: #12-D: parsing restarts here after previous syntax error } pixel_argb8888_t; ..\awtk\src\base/pixel.h(273): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_argb8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(273): error: #65: expected a ";" static inline void pixel_argb8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/types_def.h(52): warning: #12-D: parsing restarts here after previous syntax error } lcd_orientation_t; ..\awtk\src\base\bitmap.c(167): error: #20: identifier "pixel_rgba8888_t" is undefined pixel_rgba8888_t p = (pixel_rgba8888_t)data; ..\awtk\src\base\bitmap.c(167): error: #20: identifier "p" is undefined pixel_rgba8888_t p = (pixel_rgba8888_t)data; ..\awtk\src\base\bitmap.c(167): error: #29: expected an expression pixel_rgba8888_t p = (pixel_rgba8888_t)data; ..\awtk\src\base\bitmap.c(167): error: #65: expected a ";" pixel_rgba8888_t p = (pixel_rgba8888_t)data; ..\awtk\src\base\bitmap.c(168): error: #268: declaration may not appear after executable statement in block rgba_t t = pixel_rgba8888_to_rgba((p)); ..\awtk\src\base\bitmap.c(174): error: #20: identifier "pixel_abgr8888_t" is undefined pixel_abgr8888_t p = (pixel_abgr8888_t)data; ..\awtk\src\base\bitmap.c(174): error: #20: identifier "p" is undefined pixel_abgr8888_t p = (pixel_abgr8888_t)data; ..\awtk\src\base\bitmap.c(174): error: #29: expected an expression pixel_abgr8888_t p = (pixel_abgr8888_t)data; ..\awtk\src\base\bitmap.c(174): error: #65: expected a ";" pixel_abgr8888_t p = (pixel_abgr8888_t)data; ..\awtk\src\base\bitmap.c(175): error: #268: declaration may not appear after executable statement in block rgba_t t = pixel_abgr8888_to_rgba((p)); ..\awtk\src\base\bitmap.c(181): error: #20: identifier "pixel_bgra8888_t" is undefined pixel_bgra8888_t p = (pixel_bgra8888_t)data; ..\awtk\src\base\bitmap.c(181): error: #20: identifier "p" is undefined pixel_bgra8888_t p = (pixel_bgra8888_t)data; ..\awtk\src\base\bitmap.c(181): error: #29: expected an expression pixel_bgra8888_t p = (pixel_bgra8888_t)data; ..\awtk\src\base\bitmap.c(181): error: #65: expected a ";" pixel_bgra8888_t p = (pixel_bgra8888_t)data; ..\awtk\src\base\bitmap.c(182): error: #268: declaration may not appear after executable statement in block rgba_t t = pixel_bgra8888_to_rgba((p)); ..\awtk\src\base\bitmap.c(188): error: #20: identifier "pixel_argb8888_t" is undefined pixel_argb8888_t p = (pixel_argb8888_t)data; ..\awtk\src\base\bitmap.c(188): error: #20: identifier "p" is undefined pixel_argb8888_t p = (pixel_argb8888_t)data; ..\awtk\src\base\bitmap.c(188): error: #29: expected an expression pixel_argb8888_t p = (pixel_argb8888_t)data; ..\awtk\src\base\bitmap.c(188): error: #65: expected a ";" pixel_argb8888_t p = (pixel_argb8888_t)data; ..\awtk\src\base\bitmap.c(189): error: #268: declaration may not appear after executable statement in block rgba_t t = pixel_argb8888_to_rgba((p)); ..\awtk\src\base\bitmap.c(196): error: #28: expression must have a constant value rgba_t t = ixel_rgb565_to_rgba((p)); ..\awtk\src\base\bitmap.c(196): error: #28: expression must have a constant value rgba_t t = ixel_rgb565_to_rgba((*p)); ..\awtk\src\base\bitmap.c: 16 warnings, 30 errors compiling flash.c... compiling buffer.c... compiling button.c... ..\awtk\src\widgets\button.c(204): error: #29: expected an expression
K_DECL_VTABLE(button) = {.size = sizeof(button_t), ..\awtk\src\widgets\button.c(205): error: #29: expected an expression .type = WIDGET_TYPE_BUTTON, ..\awtk\src\widgets\button.c(206): error: #29: expected an expression .space_key_to_activate = TRUE, ..\awtk\src\widgets\button.c(207): error: #29: expected an expression .return_key_to_activate = TRUE, ..\awtk\src\widgets\button.c(208): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\button.c(209): error: #29: expected an expression .create = button_create, ..\awtk\src\widgets\button.c(210): error: #29: expected an expression .clone_properties = s_button_properties, ..\awtk\src\widgets\button.c(211): error: #29: expected an expression .persistent_properties = s_button_properties, ..\awtk\src\widgets\button.c(212): error: #29: expected an expression .on_event = button_on_event, ..\awtk\src\widgets\button.c(213): error: #29: expected an expression .set_prop = button_set_prop, ..\awtk\src\widgets\button.c(214): error: #29: expected an expression .get_prop = button_get_prop, ..\awtk\src\widgets\button.c(215): error: #29: expected an expression .get_prop_default_value = button_get_prop_default_value, ..\awtk\src\widgets\button.c(216): error: #29: expected an expression .on_destroy = button_on_destroy, ..\awtk\src\widgets\button.c(217): error: #29: expected an expression .on_paint_self = widget_on_paint_self_default}; ..\awtk\src\widgets\button.c(86): warning: #177-D: function "button_on_event" was declared but never referenced static ret_t button_on_event(widget_t widget, event_t e) { ..\awtk\src\widgets\button.c(157): warning: #177-D: function "button_get_prop" was declared but never referenced static ret_t button_get_prop(widget_t widget, const char name, value_t v) { ..\awtk\src\widgets\button.c(172): warning: #177-D: function "button_get_prop_default_value" was declared but never referenced static ret_t button_get_prop_default_value(widget_t widget, const char name, value_t v) { ..\awtk\src\widgets\button.c(186): warning: #177-D: function "button_set_prop" was declared but never referenced static ret_t button_set_prop(widget_t widget, const char name, const value_t v) { ..\awtk\src\widgets\button.c(198): warning: #177-D: function "button_on_destroy" was declared but never referenced static ret_t button_on_destroy(widget_t widget) { ..\awtk\src\widgets\button.c(202): warning: #177-D: variable "s_button_properties" was declared but never referenced static const char s_button_properties[] = {WIDGET_PROP_REPEAT, NULL}; ..\awtk\src\widgets\button.c: 6 warnings, 14 errors compiling canvas.c... compiling color.c... compiling check_button.c... ..\awtk\src\widgets\check_button.c(146): error: #29: expected an expression .inputable = TRUE, ..\awtk\src\widgets\check_button.c(147): error: #29: expected an expression .size = sizeof(check_button_t), ..\awtk\src\widgets\check_button.c(148): error: #29: expected an expression .type = WIDGET_TYPE_CHECK_BUTTON, ..\awtk\src\widgets\check_button.c(149): error: #29: expected an expression .space_key_to_activate = TRUE, ..\awtk\src\widgets\check_button.c(150): error: #29: expected an expression .return_key_to_activate = TRUE, ..\awtk\src\widgets\check_button.c(151): error: #29: expected an expression .clone_properties = s_check_button_properties, ..\awtk\src\widgets\check_button.c(152): error: #29: expected an expression .persistent_properties = s_check_button_properties, ..\awtk\src\widgets\check_button.c(153): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\check_button.c(154): error: #29: expected an expression .create = check_button_create, ..\awtk\src\widgets\check_button.c(155): error: #29: expected an expression .on_event = check_button_on_event, ..\awtk\src\widgets\check_button.c(156): error: #29: expected an expression .on_paint_self = check_button_on_paint_self, ..\awtk\src\widgets\check_button.c(157): error: #29: expected an expression .get_prop = check_button_get_prop, ..\awtk\src\widgets\check_button.c(158): error: #29: expected an expression .set_prop = check_button_set_prop, ..\awtk\src\widgets\check_button.c(162): error: #29: expected an expression .inputable = TRUE, ..\awtk\src\widgets\check_button.c(163): error: #29: expected an expression .size = sizeof(check_button_t), ..\awtk\src\widgets\check_button.c(164): error: #29: expected an expression .type = WIDGET_TYPE_RADIO_BUTTON, ..\awtk\src\widgets\check_button.c(165): error: #29: expected an expression .space_key_to_activate = TRUE, ..\awtk\src\widgets\check_button.c(166): error: #29: expected an expression .return_key_to_activate = TRUE, ..\awtk\src\widgets\check_button.c(167): error: #29: expected an expression .clone_properties = s_check_button_properties, ..\awtk\src\widgets\check_button.c(168): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\check_button.c(169): error: #29: expected an expression .create = check_button_create_radio, ..\awtk\src\widgets\check_button.c(170): error: #29: expected an expression .on_event = check_button_on_event, ..\awtk\src\widgets\check_button.c(171): error: #29: expected an expression .on_paint_self = check_button_on_paint_self, ..\awtk\src\widgets\check_button.c(172): error: #29: expected an expression .get_prop = check_button_get_prop, ..\awtk\src\widgets\check_button.c(173): error: #29: expected an expression .set_prop = check_button_set_prop, ..\awtk\src\widgets\check_button.c(27): warning: #177-D: function "check_button_on_event" was declared but never referenced static ret_t check_button_on_event(widget_t widget, event_t e) { ..\awtk\src\widgets\check_button.c(78): warning: #177-D: function "check_button_on_paint_self" was declared but never referenced static ret_t check_button_on_paint_self(widget_t widget, canvas_t c) { ..\awtk\src\widgets\check_button.c(119): warning: #177-D: function "check_button_get_prop" was declared but never referenced static ret_t check_button_get_prop(widget_t widget, const char name, value_t v) { ..\awtk\src\widgets\check_button.c(134): warning: #177-D: function "check_button_set_prop" was declared but never referenced static ret_t check_button_set_prop(widget_t widget, const char name, const value_t v) { ..\awtk\src\widgets\check_button.c(144): warning: #177-D: variable "s_check_button_properties" was declared but never referenced static const char s_check_button_properties[] = {WIDGET_PROP_VALUE, NULL}; ..\awtk\src\widgets\check_button.c: 5 warnings, 25 errors compiling emitter.c... compiling dialog.c... ..\awtk\src\widgets\dialog.c(88): error: #29: expected an expression
K_DECL_VTABLE(dialog) = {.size = sizeof(dialog_t), ..\awtk\src\widgets\dialog.c(89): error: #29: expected an expression .type = WIDGET_TYPE_DIALOG, ..\awtk\src\widgets\dialog.c(90): error: #29: expected an expression .is_window = TRUE, ..\awtk\src\widgets\dialog.c(91): error: #29: expected an expression .clone_properties = s_dialog_properties, ..\awtk\src\widgets\dialog.c(92): error: #29: expected an expression .persistent_properties = s_dialog_properties, ..\awtk\src\widgets\dialog.c(93): error: #29: expected an expression .parent = TK_PARENT_VTABLE(window_base), ..\awtk\src\widgets\dialog.c(94): error: #29: expected an expression .create = dialog_create, ..\awtk\src\widgets\dialog.c(95): error: #29: expected an expression .on_add_child = dialog_on_add_child, ..\awtk\src\widgets\dialog.c(96): error: #29: expected an expression .on_event = window_base_on_event, ..\awtk\src\widgets\dialog.c(97): error: #29: expected an expression .on_paint_self = window_base_on_paint_self, ..\awtk\src\widgets\dialog.c(98): error: #29: expected an expression .on_paint_begin = window_base_on_paint_begin, ..\awtk\src\widgets\dialog.c(99): error: #29: expected an expression .on_paint_end = window_base_on_paint_end, ..\awtk\src\widgets\dialog.c(100): error: #29: expected an expression .set_prop = dialog_set_prop, ..\awtk\src\widgets\dialog.c(101): error: #29: expected an expression .get_prop = dialog_get_prop, ..\awtk\src\widgets\dialog.c(102): error: #29: expected an expression .on_destroy = dialog_on_destroy}; ..\awtk\src\widgets\dialog.c(32): warning: #177-D: function "dialog_on_add_child" was declared but never referenced static ret_t dialog_on_add_child(widget_t widget, widget_t child) { ..\awtk\src\widgets\dialog.c(45): warning: #177-D: variable "s_dialog_properties" was declared but never referenced static const char s_dialog_properties[] = {WIDGET_PROP_ANIM_HINT, ..\awtk\src\widgets\dialog.c(53): warning: #177-D: function "dialog_set_prop" was declared but never referenced static ret_t dialog_set_prop(widget_t widget, const char name, const value_t v) { ..\awtk\src\widgets\dialog.c(66): warning: #177-D: function "dialog_get_prop" was declared but never referenced static ret_t dialog_get_prop(widget_t widget, const char name, value_t v) { ..\awtk\src\widgets\dialog.c(79): warning: #177-D: function "dialog_on_destroy" was declared but never referenced static ret_t dialog_on_destroy(widget_t widget) { ..\awtk\src\widgets\dialog.c: 5 warnings, 15 errors compiling font.c... compiling enums.c... compiling font_manager.c... ..\awtk\src\base\font_manager.c(81): error: #28: expression must have a constant value font_cmp_info_t info = {name, size}; ..\awtk\src\base\font_manager.c(81): error: #28: expression must have a constant value font_cmp_info_t info = {name, size}; ..\awtk\src\base\font_manager.c(127): error: #28: expression must have a constant value font_cmp_info_t info = {name, size}; ..\awtk\src\base\font_manager.c(127): error: #28: expression must have a constant value font_cmp_info_t info = {name, size}; ..\awtk\src\base\font_manager.c: 0 warnings, 4 errors compiling group_box.c... ..\awtk\src\widgets\group_box.c(29): error: #29: expected an expression
K_DECL_VTABLE(group_box) = {.size = sizeof(group_box_t), ..\awtk\src\widgets\group_box.c(30): error: #29: expected an expression .type = WIDGET_TYPE_GROUP_BOX, ..\awtk\src\widgets\group_box.c(31): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\group_box.c(32): error: #29: expected an expression .create = group_box_create, ..\awtk\src\widgets\group_box.c(33): error: #29: expected an expression .on_paint_self = group_box_on_paint_self}; ..\awtk\src\widgets\group_box.c(25): warning: #177-D: function "group_box_on_paint_self" was declared but never referenced static ret_t group_box_on_paint_self(widget_t widget, canvas_t c) { ..\awtk\src\widgets\group_box.c: 1 warning, 5 errors compiling image.c... ..\awtk\src\widgets\image.c(103): error: #29: expected an expression
K_DECL_VTABLE(image) = {.size = sizeof(image_t), ..\awtk\src\widgets\image.c(104): error: #29: expected an expression .type = WIDGET_TYPE_IMAGE, ..\awtk\src\widgets\image.c(105): error: #29: expected an expression .clone_properties = s_image_clone_properties, ..\awtk\src\widgets\image.c(106): error: #29: expected an expression .parent = TK_PARENT_VTABLE(image_base), ..\awtk\src\widgets\image.c(107): error: #29: expected an expression .create = image_create, ..\awtk\src\widgets\image.c(108): error: #29: expected an expression .on_destroy = image_base_on_destroy, ..\awtk\src\widgets\image.c(109): error: #29: expected an expression .on_event = image_base_on_event, ..\awtk\src\widgets\image.c(110): error: #29: expected an expression .on_paint_self = image_on_paint_self, ..\awtk\src\widgets\image.c(111): error: #29: expected an expression .set_prop = image_set_prop, ..\awtk\src\widgets\image.c(112): error: #29: expected an expression .get_prop = image_get_prop}; ..\awtk\src\widgets\image.c(28): warning: #177-D: function "image_on_paint_self" was declared but never referenced static ret_t image_on_paint_self(widget_t widget, canvas_t c) { ..\awtk\src\widgets\image.c(66): warning: #177-D: function "image_get_prop" was declared but never referenced static ret_t image_get_prop(widget_t widget, const char name, value_t v) { ..\awtk\src\widgets\image.c(78): warning: #177-D: function "image_set_prop" was declared but never referenced static ret_t image_set_prop(widget_t widget, const char name, const value_t v) { ..\awtk\src\widgets\image.c(97): warning: #177-D: variable "s_image_clone_properties" was declared but never referenced static const char* s_image_clone_properties[] = {WIDGET_PROP_IMAGE, WIDGET_PROP_DRAW_TYPE, ..\awtk\src\widgets\image.c: 4 warnings, 10 errors compiling image_manager.c... ..\awtk\src\base\image_manager.c(211): error: #28: expression must have a constant value imm_expr_info_t ctx = {imm, image}; ..\awtk\src\base\image_manager.c(211): error: #28: expression must have a constant value imm_expr_info_t ctx = {imm, image}; ..\awtk\src\base\image_manager.c: 0 warnings, 2 errors compiling lcd.c... compiling label.c... ..\awtk\src\widgets\label.c(245): error: #29: expected an expression
K_DECL_VTABLE(label) = {.size = sizeof(label_t), ..\awtk\src\widgets\label.c(246): error: #29: expected an expression .type = WIDGET_TYPE_LABEL, ..\awtk\src\widgets\label.c(247): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\label.c(248): error: #29: expected an expression .create = label_create, ..\awtk\src\widgets\label.c(249): error: #29: expected an expression .set_prop = label_set_prop, ..\awtk\src\widgets\label.c(250): error: #29: expected an expression .get_prop = label_get_prop, ..\awtk\src\widgets\label.c(251): error: #29: expected an expression .on_paint_self = label_on_paint_self}; ..\awtk\src\widgets\label.c(158): warning: #177-D: function "label_on_paint_self" was declared but never referenced static ret_t label_on_paint_self(widget_t widget, canvas_t c) { ..\awtk\src\widgets\label.c(223): warning: #177-D: function "label_get_prop" was declared but never referenced static ret_t label_get_prop(widget_t widget, const char name, value_t v) { ..\awtk\src\widgets\label.c(235): warning: #177-D: function "label_set_prop" was declared but never referenced static ret_t label_set_prop(widget_t widget, const char name, const value_t v) { ..\awtk\src\widgets\label.c: 3 warnings, 7 errors compiling main_loop.c... compiling mem.c... compiling rect.c... compiling progress_bar.c... ..\awtk\src\widgets\progress_bar.c(150): error: #29: expected an expression
K_DECL_VTABLE(progress_bar) = {.size = sizeof(progress_bar_t), ..\awtk\src\widgets\progress_bar.c(151): error: #29: expected an expression .type = WIDGET_TYPE_PROGRESS_BAR, ..\awtk\src\widgets\progress_bar.c(152): error: #29: expected an expression .clone_properties = s_progress_bar_clone_properties, ..\awtk\src\widgets\progress_bar.c(153): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\progress_bar.c(154): error: #29: expected an expression .create = progress_bar_create, ..\awtk\src\widgets\progress_bar.c(155): error: #29: expected an expression .on_paint_self = progress_bar_on_paint_self, ..\awtk\src\widgets\progress_bar.c(156): error: #29: expected an expression .on_paint_background = widget_on_paint_null, ..\awtk\src\widgets\progress_bar.c(157): error: #29: expected an expression .get_prop = progress_bar_get_prop, ..\awtk\src\widgets\progress_bar.c(158): error: #29: expected an expression .set_prop = progress_bar_set_prop}; ..\awtk\src\widgets\progress_bar.c(28): warning: #177-D: function "progress_bar_on_paint_self" was declared but never referenced static ret_t progress_bar_on_paint_self(widget_t widget, canvas_t c) { ..\awtk\src\widgets\progress_bar.c(116): warning: #177-D: function "progress_bar_get_prop" was declared but never referenced static ret_t progress_bar_get_prop(widget_t widget, const char name, value_t v) { ..\awtk\src\widgets\progress_bar.c(134): warning: #177-D: function "progress_bar_set_prop" was declared but never referenced static ret_t progress_bar_set_prop(widget_t widget, const char name, const value_t v) { ..\awtk\src\widgets\progress_bar.c(148): warning: #177-D: variable "s_progress_bar_clone_properties" was declared but never referenced static const char* s_progress_bar_clone_properties[] = {WIDGET_PROP_VALUE, WIDGET_PROP_VERTICAL, ..\awtk\src\widgets\progress_bar.c: 4 warnings, 9 errors compiling theme.c... compiling utf8.c... ..\awtk\src\tkc\utf8.c(90): warning: #68-D: integer conversion resulted in a change of sign
TF8_GET(result, p, i, mask, len); ..\awtk\src\tkc\utf8.c: 1 warning, 0 errors compiling value.c... compiling widget_vtable.c... ..\awtk\src\base\widget_vtable.c(152): error: #28: expression must have a constant value point_t p = {x, y}; ..\awtk\src\base\widget_vtable.c(152): error: #28: expression must have a constant value point_t p = {x, y}; ..\awtk\src\base\widget_vtable.c(185): error: #29: expected an expression
K_DECL_VTABLE(widget) = {.size = sizeof(widget_t), ..\awtk\src\base\widget_vtable.c(186): error: #29: expected an expression .type = WIDGET_TYPE_NONE, ..\awtk\src\base\widget_vtable.c(187): error: #29: expected an expression .parent = NULL, ..\awtk\src\base\widget_vtable.c(188): error: #29: expected an expression .invalidate = widget_invalidate_default, ..\awtk\src\base\widget_vtable.c(189): error: #29: expected an expression .on_event = widget_on_event_default, ..\awtk\src\base\widget_vtable.c(190): error: #29: expected an expression .on_paint_self = widget_on_paint_self_default, ..\awtk\src\base\widget_vtable.c(191): error: #29: expected an expression .on_paint_children = widget_on_paint_children_default, ..\awtk\src\base\widget_vtable.c(192): error: #29: expected an expression .on_keydown = widget_on_keydown_default, ..\awtk\src\base\widget_vtable.c(193): error: #29: expected an expression .on_keyup = widget_on_keyup_default, ..\awtk\src\base\widget_vtable.c(194): error: #29: expected an expression .on_pointer_down = widget_on_pointer_down_default, ..\awtk\src\base\widget_vtable.c(195): error: #29: expected an expression .on_pointer_move = widget_on_pointer_move_default, ..\awtk\src\base\widget_vtable.c(196): error: #29: expected an expression .on_pointer_up = widget_on_pointer_up_default, ..\awtk\src\base\widget_vtable.c(197): error: #29: expected an expression .get_prop = widget_get_prop_default, ..\awtk\src\base\widget_vtable.c(198): error: #29: expected an expression .set_prop = widget_set_prop_default, ..\awtk\src\base\widget_vtable.c(199): error: #29: expected an expression .find_target = widget_find_target_default, ..\awtk\src\base\widget_vtable.c(200): error: #29: expected an expression .on_destroy = widget_on_destroy_default}; ..\awtk\src\base\widget_vtable.c: 0 warnings, 18 errors compiling widget.c... ..\awtk\src\base\widget.c(2594): error: #28: expression must have a constant value point_t p = {x, y}; ..\awtk\src\base\widget.c(2594): error: #28: expression must have a constant value point_t p = {x, y}; ..\awtk\src\base\widget.c: 0 warnings, 2 errors compiling window.c... ..\awtk\src\widgets\window.c(73): error: #29: expected an expression
K_DECL_VTABLE(window) = {.type = WIDGET_TYPE_NORMAL_WINDOW, ..\awtk\src\widgets\window.c(74): error: #29: expected an expression .size = sizeof(window_t), ..\awtk\src\widgets\window.c(75): error: #29: expected an expression .is_window = TRUE, ..\awtk\src\widgets\window.c(76): error: #29: expected an expression .parent = TK_PARENT_VTABLE(window_base), ..\awtk\src\widgets\window.c(77): error: #29: expected an expression .create = window_create, ..\awtk\src\widgets\window.c(78): error: #29: expected an expression .clone_properties = s_window_properties, ..\awtk\src\widgets\window.c(79): error: #29: expected an expression .persistent_properties = s_window_properties, ..\awtk\src\widgets\window.c(80): error: #29: expected an expression .on_event = window_base_on_event, ..\awtk\src\widgets\window.c(81): error: #29: expected an expression .on_paint_self = window_base_on_paint_self, ..\awtk\src\widgets\window.c(82): error: #29: expected an expression .on_paint_begin = window_base_on_paint_begin, ..\awtk\src\widgets\window.c(83): error: #29: expected an expression .on_paint_end = window_base_on_paint_end, ..\awtk\src\widgets\window.c(84): error: #29: expected an expression .invalidate = window_base_invalidate, ..\awtk\src\widgets\window.c(85): error: #29: expected an expression .set_prop = window_set_prop, ..\awtk\src\widgets\window.c(86): error: #29: expected an expression .get_prop = window_get_prop, ..\awtk\src\widgets\window.c(87): error: #29: expected an expression .on_destroy = window_base_on_destroy}; ..\awtk\src\widgets\window.c(28): warning: #177-D: variable "s_window_properties" was declared but never referenced static const char s_window_properties[] = {WIDGET_PROP_ANIM_HINT, ..\awtk\src\widgets\window.c(37): warning: #177-D: function "window_set_prop" was declared but never referenced static ret_t window_set_prop(widget_t widget, const char name, const value_t v) { ..\awtk\src\widgets\window.c(47): warning: #177-D: function "window_get_prop" was declared but never referenced static ret_t window_get_prop(widget_t widget, const char name, value_t* v) { ..\awtk\src\widgets\window.c: 3 warnings, 15 errors compiling wstr.c... ..\awtk\src\tkc\wstr.c(398): error: #268: declaration may not appear after executable statement in block uint32_t nr = wcslen(p); ..\awtk\src\tkc\wstr.c: 0 warnings, 1 error compiling window_manager.c... ..\awtk\src\base\window_manager.c(382): error: #28: expression must have a constant value point_t p = {x, y}; ..\awtk\src\base\window_manager.c(382): error: #28: expression must have a constant value point_t p = {x, y}; ..\awtk\src\base\window_manager.c: 0 warnings, 2 errors compiling utils.c... compiling events.c... compiling timer.c... compiling layout.c... compiling event_queue.c... compiling window_animator.c... compiling slider.c... ..\awtk\src\widgets\slider.c(237): error: #28: expression must have a constant value point_t p = {evt->x, evt->y}; ..\awtk\src\widgets\slider.c(237): error: #28: expression must have a constant value point_t p = {evt->x, evt->y}; ..\awtk\src\widgets\slider.c(259): error: #28: expression must have a constant value point_t p = {evt->x, evt->y}; ..\awtk\src\widgets\slider.c(259): error: #28: expression must have a constant value point_t p = {evt->x, evt->y}; ..\awtk\src\widgets\slider.c(264): error: #268: declaration may not appear after executable statement in block int32_t range = slider->max - slider->min; ..\awtk\src\widgets\slider.c(454): error: #29: expected an expression
K_DECL_VTABLE(slider) = {.size = sizeof(slider_t), ..\awtk\src\widgets\slider.c(455): error: #29: expected an expression .type = WIDGET_TYPE_SLIDER, ..\awtk\src\widgets\slider.c(456): error: #29: expected an expression .inputable = TRUE, ..\awtk\src\widgets\slider.c(457): error: #29: expected an expression .clone_properties = s_slider_properties, ..\awtk\src\widgets\slider.c(458): error: #29: expected an expression .persistent_properties = s_slider_properties, ..\awtk\src\widgets\slider.c(459): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\slider.c(460): error: #29: expected an expression .create = slider_create, ..\awtk\src\widgets\slider.c(461): error: #29: expected an expression .on_event = slider_on_event, ..\awtk\src\widgets\slider.c(462): error: #29: expected an expression .on_paint_self = slider_on_paint_self, ..\awtk\src\widgets\slider.c(463): error: #29: expected an expression .on_paint_border = widget_on_paint_null, ..\awtk\src\widgets\slider.c(464): error: #29: expected an expression .on_paint_background = widget_on_paint_null, ..\awtk\src\widgets\slider.c(465): error: #29: expected an expression .get_prop = slider_get_prop, ..\awtk\src\widgets\slider.c(466): error: #29: expected an expression .set_prop = slider_set_prop}; ..\awtk\src\widgets\slider.c(100): warning: #177-D: function "slider_on_paint_self" was declared but never referenced static ret_t slider_on_paint_self(widget_t widget, canvas_t c) { ..\awtk\src\widgets\slider.c(226): warning: #177-D: function "slider_on_event" was declared but never referenced static ret_t slider_on_event(widget_t widget, event_t e) { ..\awtk\src\widgets\slider.c(404): warning: #177-D: function "slider_get_prop" was declared but never referenced static ret_t slider_get_prop(widget_t widget, const char name, value_t v) { ..\awtk\src\widgets\slider.c(431): warning: #177-D: function "slider_set_prop" was declared but never referenced static ret_t slider_set_prop(widget_t widget, const char name, const value_t v) { ..\awtk\src\widgets\slider.c(451): warning: #177-D: variable "s_slider_properties" was declared but never referenced static const char s_slider_properties[] = {WIDGET_PROP_VALUE, WIDGET_PROP_VERTICAL, ..\awtk\src\widgets\slider.c: 5 warnings, 18 errors compiling idle.c... compiling system_info.c... ..\awtk\src\base\system_info.c(215): error: #29: expected an expression static const object_vtable_t s_system_info_vtable = {.type = "system_info", ..\awtk\src\base\system_info.c(216): error: #29: expected an expression .desc = "system_info", ..\awtk\src\base\system_info.c(217): error: #29: expected an expression .size = sizeof(system_info_t), ..\awtk\src\base\system_info.c(218): error: #29: expected an expression .get_prop = system_info_get_prop, ..\awtk\src\base\system_info.c(219): error: #29: expected an expression .on_destroy = system_info_on_destroy}; ..\awtk\src\base\system_info.c(166): warning: #177-D: function "system_info_get_prop" was declared but never referenced static ret_t system_info_get_prop(object_t obj, const char name, value_t v) { ..\awtk\src\base\system_info.c(206): warning: #177-D: function "system_info_on_destroy" was declared but never referenced static ret_t system_info_on_destroy(object_t* obj) { ..\awtk\src\base\system_info.c: 2 warnings, 5 errors compiling image_loader.c... compiling str.c... compiling pages.c... ..\awtk\src\widgets\pages.c(114): error: #29: expected an expression
K_DECL_VTABLE(pages) = {.size = sizeof(pages_t), ..\awtk\src\widgets\pages.c(115): error: #29: expected an expression .inputable = TRUE, ..\awtk\src\widgets\pages.c(116): error: #29: expected an expression .type = WIDGET_TYPE_PAGES, ..\awtk\src\widgets\pages.c(117): error: #29: expected an expression .only_active_child_visible = TRUE, ..\awtk\src\widgets\pages.c(118): error: #29: expected an expression .clone_properties = s_pages_clone_properties, ..\awtk\src\widgets\pages.c(119): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\pages.c(120): error: #29: expected an expression .create = pages_create, ..\awtk\src\widgets\pages.c(121): error: #29: expected an expression .on_paint_self = widget_on_paint_null, ..\awtk\src\widgets\pages.c(122): error: #29: expected an expression .find_target = pages_find_target, ..\awtk\src\widgets\pages.c(123): error: #29: expected an expression .on_paint_children = pages_on_paint_children, ..\awtk\src\widgets\pages.c(124): error: #29: expected an expression .get_prop = pages_get_prop, ..\awtk\src\widgets\pages.c(125): error: #29: expected an expression .set_prop = pages_set_prop}; ..\awtk\src\widgets\pages.c(64): warning: #177-D: function "pages_find_target" was declared but never referenced static widget_t pages_find_target(widget_t widget, xy_t x, xy_t y) { ..\awtk\src\widgets\pages.c(75): warning: #177-D: function "pages_on_paint_children" was declared but never referenced static ret_t pages_on_paint_children(widget_t widget, canvas_t c) { ..\awtk\src\widgets\pages.c(90): warning: #177-D: function "pages_get_prop" was declared but never referenced static ret_t pages_get_prop(widget_t widget, const char name, value_t v) { ..\awtk\src\widgets\pages.c(102): warning: #177-D: function "pages_set_prop" was declared but never referenced static ret_t pages_set_prop(widget_t widget, const char name, const value_t v) { ..\awtk\src\widgets\pages.c(112): warning: #177-D: variable "s_pages_clone_properties" was declared but never referenced static const char s_pages_clone_properties[] = {WIDGET_PROP_VALUE, NULL}; ..\awtk\src\widgets\pages.c: 5 warnings, 12 errors compiling main_loop_simple.c... compiling edit.c... ..\awtk\src\widgets\edit.c(724): error: #268: declaration may not appear after executable statement in block edit_t edit = EDIT(widget); ..\awtk\src\widgets\edit.c(1127): error: #29: expected an expression
K_DECL_VTABLE(edit) = {.size = sizeof(edit_t), ..\awtk\src\widgets\edit.c(1128): error: #29: expected an expression .type = WIDGET_TYPE_EDIT, ..\awtk\src\widgets\edit.c(1129): error: #29: expected an expression .focusable = TRUE, ..\awtk\src\widgets\edit.c(1130): error: #29: expected an expression .inputable = TRUE, ..\awtk\src\widgets\edit.c(1131): error: #29: expected an expression .clone_properties = s_edit_properties, ..\awtk\src\widgets\edit.c(1132): error: #29: expected an expression .persistent_properties = s_edit_properties, ..\awtk\src\widgets\edit.c(1133): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\edit.c(1134): error: #29: expected an expression .create = edit_create, ..\awtk\src\widgets\edit.c(1135): error: #29: expected an expression .on_paint_self = edit_on_paint_self, ..\awtk\src\widgets\edit.c(1136): error: #29: expected an expression .set_prop = edit_set_prop, ..\awtk\src\widgets\edit.c(1137): error: #29: expected an expression .get_prop = edit_get_prop, ..\awtk\src\widgets\edit.c(1138): error: #29: expected an expression .on_destroy = edit_on_destroy, ..\awtk\src\widgets\edit.c(1139): error: #29: expected an expression .on_event = edit_on_event}; ..\awtk\src\widgets\edit.c: 0 warnings, 14 errors compiling velocity.c... compiling view.c... ..\awtk\src\widgets\view.c(25): error: #29: expected an expression
K_DECL_VTABLE(view) = {.size = sizeof(view_t), ..\awtk\src\widgets\view.c(26): error: #29: expected an expression .type = WIDGET_TYPE_VIEW, ..\awtk\src\widgets\view.c(27): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\view.c(28): error: #29: expected an expression .create = view_create}; ..\awtk\src\widgets\view.c: 0 warnings, 4 errors compiling tokenizer.c... compiling input_engine_null.c... compiling widget_factory.c... compiling input_method.c... compiling input_engine.c... compiling spin_box.c... ..\awtk\src\widgets\spin_box.c(30): error: #29: expected an expression
K_DECL_VTABLE(spin_box) = {.size = sizeof(spin_box_t), ..\awtk\src\widgets\spin_box.c(31): error: #29: expected an expression .type = WIDGET_TYPE_SPIN_BOX, ..\awtk\src\widgets\spin_box.c(32): error: #29: expected an expression .inputable = TRUE, ..\awtk\src\widgets\spin_box.c(33): error: #29: expected an expression .focusable = TRUE, ..\awtk\src\widgets\spin_box.c(34): error: #29: expected an expression .clone_properties = s_edit_properties, ..\awtk\src\widgets\spin_box.c(35): error: #29: expected an expression .persistent_properties = s_edit_properties, ..\awtk\src\widgets\spin_box.c(36): error: #29: expected an expression .parent = TK_PARENT_VTABLE(edit), ..\awtk\src\widgets\spin_box.c(37): error: #29: expected an expression .create = spin_box_create_self, ..\awtk\src\widgets\spin_box.c(38): error: #29: expected an expression .on_paint_self = edit_on_paint_self, ..\awtk\src\widgets\spin_box.c(39): error: #29: expected an expression .set_prop = edit_set_prop, ..\awtk\src\widgets\spin_box.c(40): error: #29: expected an expression .get_prop = edit_get_prop, ..\awtk\src\widgets\spin_box.c(41): error: #29: expected an expression .on_destroy = edit_on_destroy, ..\awtk\src\widgets\spin_box.c(42): error: #29: expected an expression .on_event = edit_on_event}; ..\awtk\src\widgets\spin_box.c: 0 warnings, 13 errors compiling dragger.c... ..\awtk\src\widgets\dragger.c(170): error: #29: expected an expression
K_DECL_VTABLE(dragger) = {.size = sizeof(dragger_t), ..\awtk\src\widgets\dragger.c(171): error: #29: expected an expression .type = WIDGET_TYPE_DRAGGER, ..\awtk\src\widgets\dragger.c(172): error: #29: expected an expression .clone_properties = s_dragger_clone_properties, ..\awtk\src\widgets\dragger.c(173): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\dragger.c(174): error: #29: expected an expression .create = dragger_create, ..\awtk\src\widgets\dragger.c(175): error: #29: expected an expression .set_prop = dragger_set_prop, ..\awtk\src\widgets\dragger.c(176): error: #29: expected an expression .get_prop = dragger_get_prop, ..\awtk\src\widgets\dragger.c(177): error: #29: expected an expression .on_event = dragger_on_event, ..\awtk\src\widgets\dragger.c(178): error: #29: expected an expression .on_paint_self = dragger_on_paint_self}; ..\awtk\src\widgets\dragger.c(26): warning: #177-D: function "dragger_on_paint_self" was declared but never referenced static ret_t dragger_on_paint_self(widget_t widget, canvas_t c) { ..\awtk\src\widgets\dragger.c(53): warning: #177-D: function "dragger_on_event" was declared but never referenced static ret_t dragger_on_event(widget_t widget, event_t e) { ..\awtk\src\widgets\dragger.c(126): warning: #177-D: function "dragger_get_prop" was declared but never referenced static ret_t dragger_get_prop(widget_t widget, const char name, value_t v) { ..\awtk\src\widgets\dragger.c(147): warning: #177-D: function "dragger_set_prop" was declared but never referenced static ret_t dragger_set_prop(widget_t widget, const char name, const value_t v) { ..\awtk\src\widgets\dragger.c(168): warning: #177-D: variable "s_dragger_clone_properties" was declared but never referenced static const char* s_dragger_clone_properties[] = {WIDGET_PROP_X_MIN, WIDGET_PROP_X_MAX, ..\awtk\src\widgets\dragger.c: 5 warnings, 9 errors compiling dialog_client.c... ..\awtk\src\widgets\dialog_client.c(30): error: #29: expected an expression
K_DECL_VTABLE(dialog_client) = {.size = sizeof(dialog_client_t), ..\awtk\src\widgets\dialog_client.c(31): error: #29: expected an expression .type = WIDGET_TYPE_DIALOG_CLIENT, ..\awtk\src\widgets\dialog_client.c(32): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\dialog_client.c(33): error: #29: expected an expression .create = dialog_client_create, ..\awtk\src\widgets\dialog_client.c(34): error: #29: expected an expression .on_paint_self = dialog_client_on_paint_self}; ..\awtk\src\widgets\dialog_client.c(26): warning: #177-D: function "dialog_client_on_paint_self" was declared but never referenced static ret_t dialog_client_on_paint_self(widget_t widget, canvas_t c) { ..\awtk\src\widgets\dialog_client.c: 1 warning, 5 errors compiling dialog_title.c... ..\awtk\src\widgets\dialog_title.c(33): error: #29: expected an expression
K_DECL_VTABLE(dialog_title) = {.size = sizeof(dialog_title_t), ..\awtk\src\widgets\dialog_title.c(34): error: #29: expected an expression .type = WIDGET_TYPE_DIALOG_TITLE, ..\awtk\src\widgets\dialog_title.c(35): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\dialog_title.c(36): error: #29: expected an expression .create = dialog_title_create, ..\awtk\src\widgets\dialog_title.c(37): error: #29: expected an expression .on_paint_self = dialog_title_on_paint_self}; ..\awtk\src\widgets\dialog_title.c(29): warning: #177-D: function "dialog_title_on_paint_self" was declared but never referenced static ret_t dialog_title_on_paint_self(widget_t widget, canvas_t c) { ..\awtk\src\widgets\dialog_title.c: 1 warning, 5 errors compiling input_method_creator.c... compiling awtk_global.c... ..\awtk\src\base/pixel.h(41): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_rgb565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(41): error: #65: expected a ";" static inline void pixel_rgb565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(61): warning: #12-D: parsing restarts here after previous syntax error } pixel_bgr565_t; ..\awtk\src\base/pixel.h(71): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_bgr565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(71): error: #65: expected a ";" static inline void pixel_bgr565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(101): warning: #12-D: parsing restarts here after previous syntax error } pixel_rgb888_t; ..\awtk\src\base/pixel.h(111): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_rgb888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(111): error: #65: expected a ";" static inline void pixel_rgb888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(132): warning: #12-D: parsing restarts here after previous syntax error } pixel_bgr888_t; ..\awtk\src\base/pixel.h(141): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_bgr888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(141): error: #65: expected a ";" static inline void pixel_bgr888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(163): warning: #12-D: parsing restarts here after previous syntax error } pixel_rgba8888_t; ..\awtk\src\base/pixel.h(174): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_rgba8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(174): error: #65: expected a ";" static inline void pixel_rgba8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(196): warning: #12-D: parsing restarts here after previous syntax error } pixel_abgr8888_t; ..\awtk\src\base/pixel.h(207): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_abgr8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(207): error: #65: expected a ";" static inline void pixel_abgr8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(229): warning: #12-D: parsing restarts here after previous syntax error } pixel_bgra8888_t; ..\awtk\src\base/pixel.h(240): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_bgra8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(240): error: #65: expected a ";" static inline void pixel_bgra8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(262): warning: #12-D: parsing restarts here after previous syntax error } pixel_argb8888_t; ..\awtk\src\base/pixel.h(273): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_argb8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(273): error: #65: expected a ";" static inline void pixel_argb8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/rom_fs.h(33): warning: #12-D: parsing restarts here after previous syntax error } rom_file_t; ..\awtk\src\base/rom_fs.h(35): error: #20: identifier "rom_file_t" is undefined rom_file_t rom_fopen(const char name, const char mode); ..\awtk\src\base/rom_fs.h(36): error: #20: identifier "rom_file_t" is undefined rom_file_t rom_fopen_buff(const uint8_t data, uint32_t capacity); ..\awtk\src\base/rom_fs.h(37): error: #20: identifier "rom_file_t" is undefined long rom_ftell(rom_file_t f); ..\awtk\src\base/rom_fs.h(38): error: #20: identifier "rom_file_t" is undefined int rom_feof(rom_file_t f); ..\awtk\src\base/rom_fs.h(39): error: #20: identifier "rom_file_t" is undefined int rom_ferror(rom_file_t f); ..\awtk\src\base/rom_fs.h(40): error: #20: identifier "rom_file_t" is undefined int rom_fseek(rom_file_t f, long offset, int whence); ..\awtk\src\base/rom_fs.h(41): error: #20: identifier "rom_file_t" is undefined size_t rom_fread(void ptr, size_t size, size_t nitems, rom_file_t f); ..\awtk\src\base/rom_fs.h(42): error: #20: identifier "rom_file_t" is undefined size_t rom_fwrite(const void ptr, size_t size, size_t nitems, rom_file_t f); ..\awtk\src\base/rom_fs.h(43): error: #20: identifier "rom_file_t" is undefined ret_t rom_fclose(rom_file_t f); ..\awtk\src\awtk_global.c: 16 warnings, 17 errors compiling color_parser.c... ..\awtk\src\tkc\color_parser.c(161): error: #268: declaration may not appear after executable statement in block color_map_t ret = (color_map_t)bsearch(&color_map, colors_map, ARRAY_SIZE(colors_map), ..\awtk\src\tkc\color_parser.c(171): error: #268: declaration may not appear after executable statement in block int ir = 0; ..\awtk\src\tkc\color_parser.c(172): error: #268: declaration may not appear after executable statement in block int ig = 0; ..\awtk\src\tkc\color_parser.c(173): error: #268: declaration may not appear after executable statement in block int ib = 0; ..\awtk\src\tkc\color_parser.c(174): error: #268: declaration may not appear after executable statement in block float fa = 1; ..\awtk\src\tkc\color_parser.c(194): error: #268: declaration may not appear after executable statement in block int ir = 0; ..\awtk\src\tkc\color_parser.c(195): error: #268: declaration may not appear after executable statement in block int ig = 0; ..\awtk\src\tkc\color_parser.c(196): error: #268: declaration may not appear after executable statement in block int ib = 0; ..\awtk\src\tkc\color_parser.c(197): error: #268: declaration may not appear after executable statement in block int ia = 0xff; ..\awtk\src\tkc\color_parser.c: 0 warnings, 9 errors compiling button_group.c... ..\awtk\src\widgets\button_group.c(29): error: #29: expected an expression
K_DECL_VTABLE(button_group) = {.size = sizeof(button_group_t), ..\awtk\src\widgets\button_group.c(30): error: #29: expected an expression .type = WIDGET_TYPE_BUTTON_GROUP, ..\awtk\src\widgets\button_group.c(31): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\button_group.c(32): error: #29: expected an expression .create = button_group_create, ..\awtk\src\widgets\button_group.c(33): error: #29: expected an expression .on_paint_self = button_group_on_paint_self}; ..\awtk\src\widgets\button_group.c(25): warning: #177-D: function "button_group_on_paint_self" was declared but never referenced static ret_t button_group_on_paint_self(widget_t widget, canvas_t c) { ..\awtk\src\widgets\button_group.c: 1 warning, 5 errors compiling easing.c... compiling combo_box.c... ..\awtk\src\widgets\combo_box.c(148): error: #29: expected an expression
K_DECL_VTABLE(combo_box) = {.size = sizeof(combo_box_t), ..\awtk\src\widgets\combo_box.c(149): error: #29: expected an expression .inputable = TRUE, ..\awtk\src\widgets\combo_box.c(150): error: #29: expected an expression .type = WIDGET_TYPE_COMBO_BOX, ..\awtk\src\widgets\combo_box.c(151): error: #29: expected an expression .clone_properties = s_combo_box_properties, ..\awtk\src\widgets\combo_box.c(152): error: #29: expected an expression .persistent_properties = s_combo_box_properties, ..\awtk\src\widgets\combo_box.c(153): error: #29: expected an expression .parent = TK_PARENT_VTABLE(edit), ..\awtk\src\widgets\combo_box.c(154): error: #29: expected an expression .create = combo_box_create_self, ..\awtk\src\widgets\combo_box.c(155): error: #29: expected an expression .on_paint_self = edit_on_paint_self, ..\awtk\src\widgets\combo_box.c(156): error: #29: expected an expression .set_prop = combo_box_set_prop, ..\awtk\src\widgets\combo_box.c(157): error: #29: expected an expression .get_prop = combo_box_get_prop, ..\awtk\src\widgets\combo_box.c(158): error: #29: expected an expression .on_layout_children = combo_box_on_layout_children, ..\awtk\src\widgets\combo_box.c(159): error: #29: expected an expression .on_destroy = combo_box_on_destroy, ..\awtk\src\widgets\combo_box.c(160): error: #29: expected an expression .on_event = edit_on_event}; ..\awtk\src\widgets\combo_box.c(51): warning: #177-D: function "combo_box_on_destroy" was declared but never referenced static ret_t combo_box_on_destroy(widget_t widget) { ..\awtk\src\widgets\combo_box.c(64): warning: #177-D: function "combo_box_get_prop" was declared but never referenced static ret_t combo_box_get_prop(widget_t widget, const char name, value_t v) { ..\awtk\src\widgets\combo_box.c(122): warning: #177-D: function "combo_box_set_prop" was declared but never referenced static ret_t combo_box_set_prop(widget_t widget, const char name, const value_t v) { ..\awtk\src\widgets\combo_box.c(140): warning: #177-D: function "combo_box_on_layout_children" was declared but never referenced static ret_t combo_box_on_layout_children(widget_t widget) { ..\awtk\src\widgets\combo_box.c: 4 warnings, 13 errors compiling combo_box_item.c... ..\awtk\src\widgets\combo_box_item.c(102): error: #29: expected an expression
K_DECL_VTABLE(combo_box_item) = {.size = sizeof(combo_box_item_t), ..\awtk\src\widgets\combo_box_item.c(103): error: #29: expected an expression .type = WIDGET_TYPE_COMBO_BOX_ITEM, ..\awtk\src\widgets\combo_box_item.c(104): error: #29: expected an expression .on_paint_self = combo_box_item_on_paint_self, ..\awtk\src\widgets\combo_box_item.c(105): error: #29: expected an expression .on_event = combo_box_item_on_event, ..\awtk\src\widgets\combo_box_item.c(106): error: #29: expected an expression .get_prop = combo_box_item_get_prop, ..\awtk\src\widgets\combo_box_item.c(107): error: #29: expected an expression .set_prop = combo_box_item_set_prop, ..\awtk\src\widgets\combo_box_item.c(108): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\combo_box_item.c(109): error: #29: expected an expression .create = combo_box_item_create}; ..\awtk\src\widgets\combo_box_item.c(25): warning: #177-D: function "combo_box_item_on_paint_self" was declared but never referenced static ret_t combo_box_item_on_paint_self(widget_t widget, canvas_t c) { ..\awtk\src\widgets\combo_box_item.c(29): warning: #177-D: function "combo_box_item_on_event" was declared but never referenced static ret_t combo_box_item_on_event(widget_t widget, event_t e) { ..\awtk\src\widgets\combo_box_item.c(72): warning: #177-D: function "combo_box_item_set_prop" was declared but never referenced static ret_t combo_box_item_set_prop(widget_t widget, const char name, const value_t v) { ..\awtk\src\widgets\combo_box_item.c(84): warning: #177-D: function "combo_box_item_get_prop" was declared but never referenced static ret_t combo_box_item_get_prop(widget_t widget, const char name, value_t v) { ..\awtk\src\widgets\combo_box_item.c: 4 warnings, 8 errors compiling fs.c... compiling glyph_cache.c... compiling line_break.c... compiling matrix.c... compiling rom_fs.c... compiling suggest_words.c... compiling popup.c... ..\awtk\src\widgets\popup.c(113): error: #29: expected an expression
K_DECL_VTABLE(popup) = {.size = sizeof(popup_t), ..\awtk\src\widgets\popup.c(114): error: #29: expected an expression .type = WIDGET_TYPE_POPUP, ..\awtk\src\widgets\popup.c(115): error: #29: expected an expression .is_window = TRUE, ..\awtk\src\widgets\popup.c(116): error: #29: expected an expression .clone_properties = s_popup_properties, ..\awtk\src\widgets\popup.c(117): error: #29: expected an expression .persistent_properties = s_popup_properties, ..\awtk\src\widgets\popup.c(118): error: #29: expected an expression .parent = TK_PARENT_VTABLE(window_base), ..\awtk\src\widgets\popup.c(119): error: #29: expected an expression .create = popup_create, ..\awtk\src\widgets\popup.c(120): error: #29: expected an expression .get_prop = popup_get_prop, ..\awtk\src\widgets\popup.c(121): error: #29: expected an expression .set_prop = popup_set_prop, ..\awtk\src\widgets\popup.c(122): error: #29: expected an expression .on_event = popup_on_event, ..\awtk\src\widgets\popup.c(123): error: #29: expected an expression .on_paint_self = window_base_on_paint_self, ..\awtk\src\widgets\popup.c(124): error: #29: expected an expression .on_paint_begin = window_base_on_paint_begin, ..\awtk\src\widgets\popup.c(125): error: #29: expected an expression .on_paint_end = window_base_on_paint_end, ..\awtk\src\widgets\popup.c(126): error: #29: expected an expression .on_destroy = window_base_on_destroy}; ..\awtk\src\widgets\popup.c(33): warning: #177-D: function "popup_get_prop" was declared but never referenced static ret_t popup_get_prop(widget_t widget, const char name, value_t v) { ..\awtk\src\widgets\popup.c(48): warning: #177-D: function "popup_set_prop" was declared but never referenced static ret_t popup_set_prop(widget_t widget, const char name, const value_t v) { ..\awtk\src\widgets\popup.c(63): warning: #177-D: function "popup_on_event" was declared but never referenced static ret_t popup_on_event(widget_t widget, event_t e) { ..\awtk\src\widgets\popup.c(103): warning: #177-D: variable "s_popup_properties" was declared but never referenced static const char* s_popup_properties[] = {WIDGET_PROP_ANIM_HINT, ..\awtk\src\widgets\popup.c: 4 warnings, 14 errors compiling tab_button.c... ..\awtk\src\widgets\tab_button.c(197): error: #29: expected an expression
K_DECL_VTABLE(tab_button) = {.size = sizeof(tab_button_t), ..\awtk\src\widgets\tab_button.c(198): error: #29: expected an expression .type = WIDGET_TYPE_TAB_BUTTON, ..\awtk\src\widgets\tab_button.c(199): error: #29: expected an expression .clone_properties = s_tab_button_clone_properties, ..\awtk\src\widgets\tab_button.c(200): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\tab_button.c(201): error: #29: expected an expression .create = tab_button_create, ..\awtk\src\widgets\tab_button.c(202): error: #29: expected an expression .on_event = tab_button_on_event, ..\awtk\src\widgets\tab_button.c(203): error: #29: expected an expression .on_paint_self = tab_button_on_paint_self, ..\awtk\src\widgets\tab_button.c(204): error: #29: expected an expression .get_prop = tab_button_get_prop, ..\awtk\src\widgets\tab_button.c(205): error: #29: expected an expression .set_prop = tab_button_set_prop, ..\awtk\src\widgets\tab_button.c(206): error: #29: expected an expression .on_destroy = tab_button_on_destroy}; ..\awtk\src\widgets\tab_button.c(28): warning: #177-D: function "tab_button_on_event" was declared but never referenced static ret_t tab_button_on_event(widget_t widget, event_t e) { ..\awtk\src\widgets\tab_button.c(53): warning: #177-D: function "tab_button_on_paint_self" was declared but never referenced static ret_t tab_button_on_paint_self(widget_t widget, canvas_t c) { ..\awtk\src\widgets\tab_button.c(148): warning: #177-D: function "tab_button_get_prop" was declared but never referenced static ret_t tab_button_get_prop(widget_t widget, const char name, value_t v) { ..\awtk\src\widgets\tab_button.c(172): warning: #177-D: function "tab_button_set_prop" was declared but never referenced static ret_t tab_button_set_prop(widget_t widget, const char name, const value_t v) { ..\awtk\src\widgets\tab_button.c(186): warning: #177-D: function "tab_button_on_destroy" was declared but never referenced static ret_t tab_button_on_destroy(widget_t widget) { ..\awtk\src\widgets\tab_button.c(196): warning: #177-D: variable "s_tab_button_clone_properties" was declared but never referenced static const char s_tab_button_clone_properties[] = {WIDGET_PROP_VALUE, NULL}; ..\awtk\src\widgets\tab_button.c: 6 warnings, 10 errors compiling tab_button_group.c... ..\awtk\src\widgets\tab_button_group.c(283): error: #29: expected an expression
K_DECL_VTABLE(tab_button_group) = {.size = sizeof(tab_button_group_t), ..\awtk\src\widgets\tab_button_group.c(284): error: #29: expected an expression .type = WIDGET_TYPE_TAB_BUTTON_GROUP, ..\awtk\src\widgets\tab_button_group.c(285): error: #29: expected an expression .scrollable = TRUE, ..\awtk\src\widgets\tab_button_group.c(286): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\tab_button_group.c(287): error: #29: expected an expression .create = tab_button_group_create, ..\awtk\src\widgets\tab_button_group.c(288): error: #29: expected an expression .set_prop = tab_button_group_set_prop, ..\awtk\src\widgets\tab_button_group.c(289): error: #29: expected an expression .get_prop = tab_button_group_get_prop, ..\awtk\src\widgets\tab_button_group.c(290): error: #29: expected an expression .invalidate = tab_button_group_invalidate, ..\awtk\src\widgets\tab_button_group.c(291): error: #29: expected an expression .on_event = tab_button_group_on_event, ..\awtk\src\widgets\tab_button_group.c(292): error: #29: expected an expression .on_destroy = tab_button_group_on_destroy, ..\awtk\src\widgets\tab_button_group.c(293): error: #29: expected an expression .on_paint_children = tab_button_group_on_paint_children, ..\awtk\src\widgets\tab_button_group.c(294): error: #29: expected an expression .on_layout_children = tab_button_group_on_layout_children, ..\awtk\src\widgets\tab_button_group.c(295): error: #29: expected an expression .on_paint_border = tab_button_group_on_paint_border, ..\awtk\src\widgets\tab_button_group.c(296): error: #29: expected an expression .on_paint_end = tab_button_group_on_paint_end, ..\awtk\src\widgets\tab_button_group.c(297): error: #29: expected an expression .on_paint_self = tab_button_group_on_paint_self}; ..\awtk\src\widgets\tab_button_group.c(85): warning: #177-D: function "tab_button_group_on_layout_children" was declared but never referenced static ret_t tab_button_group_on_layout_children(widget_t widget) { ..\awtk\src\widgets\tab_button_group.c(98): warning: #177-D: function "tab_button_group_on_paint_self" was declared but never referenced static ret_t tab_button_group_on_paint_self(widget_t widget, canvas_t c) { ..\awtk\src\widgets\tab_button_group.c(174): warning: #177-D: function "tab_button_group_on_paint_border" was declared but never referenced static ret_t tab_button_group_on_paint_border(widget_t widget, canvas_t c) { ..\awtk\src\widgets\tab_button_group.c(191): warning: #177-D: function "tab_button_group_on_paint_end" was declared but never referenced static ret_t tab_button_group_on_paint_end(widget_t widget, canvas_t c) { ..\awtk\src\widgets\tab_button_group.c(202): warning: #177-D: function "tab_button_group_get_prop" was declared but never referenced static ret_t tab_button_group_get_prop(widget_t widget, const char name, value_t v) { ..\awtk\src\widgets\tab_button_group.c(217): warning: #177-D: function "tab_button_group_set_prop" was declared but never referenced static ret_t tab_button_group_set_prop(widget_t widget, const char name, const value_t v) { ..\awtk\src\widgets\tab_button_group.c(231): warning: #177-D: function "tab_button_group_invalidate" was declared but never referenced static ret_t tab_button_group_invalidate(widget_t widget, rect_t r) { ..\awtk\src\widgets\tab_button_group.c(238): warning: #177-D: function "tab_button_group_on_paint_children" was declared but never referenced static ret_t tab_button_group_on_paint_children(widget_t widget, canvas_t c) { ..\awtk\src\widgets\tab_button_group.c(245): warning: #177-D: function "tab_button_group_on_event" was declared but never referenced static ret_t tab_button_group_on_event(widget_t widget, event_t e) { ..\awtk\src\widgets\tab_button_group.c(274): warning: #177-D: function "tab_button_group_on_destroy" was declared but never referenced static ret_t tab_button_group_on_destroy(widget_t widget) { ..\awtk\src\widgets\tab_button_group.c: 10 warnings, 15 errors compiling tab_control.c... ..\awtk\src\widgets\tab_control.c(29): error: #29: expected an expression
K_DECL_VTABLE(tab_control) = {.size = sizeof(tab_control_t), ..\awtk\src\widgets\tab_control.c(30): error: #29: expected an expression .type = WIDGET_TYPE_TAB_CONTROL, ..\awtk\src\widgets\tab_control.c(31): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\tab_control.c(32): error: #29: expected an expression .create = tab_control_create, ..\awtk\src\widgets\tab_control.c(33): error: #29: expected an expression .on_paint_self = tab_control_on_paint_self}; ..\awtk\src\widgets\tab_control.c(25): warning: #177-D: function "tab_control_on_paint_self" was declared but never referenced static ret_t tab_control_on_paint_self(widget_t widget, canvas_t c) { ..\awtk\src\widgets\tab_control.c: 1 warning, 5 errors compiling ui_builder.c... compiling vgcanvas.c... compiling widget_animator.c... compiling ui_binary_writer.c... compiling ui_builder_default.c... compiling ui_loader.c... compiling ui_loader_default.c... ..\awtk\src\ui_loader\ui_loader_default.c(72): error: #29: expected an expression static const ui_loader_t s_default_ui_loader = {.load = ui_loader_load_default}; ..\awtk\src\ui_loader\ui_loader_default.c: 0 warnings, 1 error compiling ui_loader_xml.c... ..\awtk\src\ui_loader\ui_loader_xml.c(332): error: #29: expected an expression static const ui_loader_t s_xml_ui_loader = {.load = ui_loader_load_xml}; ..\awtk\src\ui_loader\ui_loader_xml.c: 0 warnings, 1 error compiling ui_serializer.c... compiling ui_xml_writer.c... compiling xml_builder.c... compiling window_open.c... ..\awtk\src\ui_loader\window_open.c(47): error: #28: expression must have a constant value ui_expr_info_t info = {to_close, ULL}; ..\awtk\src\ui_loader\window_open.c: 0 warnings, 1 error compiling xml_parser.c... compiling color_tile.c... ..\awtk\src\widgets\color_tile.c(76): error: #29: expected an expression
K_DECL_VTABLE(color_tile) = {.size = sizeof(color_tile_t), ..\awtk\src\widgets\color_tile.c(77): error: #29: expected an expression .type = WIDGET_TYPE_COLOR_TILE, ..\awtk\src\widgets\color_tile.c(78): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\color_tile.c(79): error: #29: expected an expression .create = color_tile_create, ..\awtk\src\widgets\color_tile.c(80): error: #29: expected an expression .clone_properties = s_color_tile_properties, ..\awtk\src\widgets\color_tile.c(81): error: #29: expected an expression .persistent_properties = s_color_tile_properties, ..\awtk\src\widgets\color_tile.c(82): error: #29: expected an expression .set_prop = color_tile_set_prop, ..\awtk\src\widgets\color_tile.c(83): error: #29: expected an expression .get_prop = color_tile_get_prop, ..\awtk\src\widgets\color_tile.c(84): error: #29: expected an expression .on_paint_self = color_tile_on_paint_self}; ..\awtk\src\widgets\color_tile.c(27): warning: #177-D: function "color_tile_on_paint_self" was declared but never referenced static ret_t color_tile_on_paint_self(widget_t widget, canvas_t c) { ..\awtk\src\widgets\color_tile.c(40): warning: #177-D: function "color_tile_get_prop" was declared but never referenced static ret_t color_tile_get_prop(widget_t widget, const char name, value_t v) { ..\awtk\src\widgets\color_tile.c(58): warning: #177-D: function "color_tile_set_prop" was declared but never referenced static ret_t color_tile_set_prop(widget_t widget, const char name, const value_t v) { ..\awtk\src\widgets\color_tile.c(74): warning: #177-D: variable "s_color_tile_properties" was declared but never referenced static const char* s_color_tile_properties[] = {WIDGET_PROP_BG_COLOR, WIDGET_PROP_BORDER_COLOR, ..\awtk\src\widgets\color_tile.c: 4 warnings, 9 errors compiling locale_info.c... compiling assets_manager.c... compiling path.c... compiling column.c... ..\awtk\src\widgets\column.c(25): error: #29: expected an expression
K_DECL_VTABLE(column) = {.size = sizeof(column_t), ..\awtk\src\widgets\column.c(26): error: #29: expected an expression .type = WIDGET_TYPE_COLUMN, ..\awtk\src\widgets\column.c(27): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\column.c(28): error: #29: expected an expression .create = column_create}; ..\awtk\src\widgets\column.c: 0 warnings, 4 errors compiling app_bar.c... ..\awtk\src\widgets\app_bar.c(26): error: #29: expected an expression
K_DECL_VTABLE(app_bar) = {.size = sizeof(app_bar_t), ..\awtk\src\widgets\app_bar.c(27): error: #29: expected an expression .type = WIDGET_TYPE_APP_BAR, ..\awtk\src\widgets\app_bar.c(28): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\app_bar.c(29): error: #29: expected an expression .create = app_bar_create}; ..\awtk\src\widgets\app_bar.c: 0 warnings, 4 errors compiling grid.c... ..\awtk\src\widgets\grid.c(25): error: #29: expected an expression
K_DECL_VTABLE(grid) = {.size = sizeof(grid_t), ..\awtk\src\widgets\grid.c(26): error: #29: expected an expression .type = WIDGET_TYPE_ROW, ..\awtk\src\widgets\grid.c(27): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\grid.c(28): error: #29: expected an expression .create = grid_create}; ..\awtk\src\widgets\grid.c: 0 warnings, 4 errors compiling row.c... ..\awtk\src\widgets\row.c(25): error: #29: expected an expression
K_DECL_VTABLE(row) = {.size = sizeof(row_t), ..\awtk\src\widgets\row.c(26): error: #29: expected an expression .type = WIDGET_TYPE_ROW, ..\awtk\src\widgets\row.c(27): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\row.c(28): error: #29: expected an expression .create = row_create}; ..\awtk\src\widgets\row.c: 0 warnings, 4 errors compiling font_loader_bitmap.c... compiling calibration_win.c... ..\awtk\src\widgets\calibration_win.c(156): error: #29: expected an expression
K_DECL_VTABLE(calibration_win) = {.size = sizeof(calibration_win_t), ..\awtk\src\widgets\calibration_win.c(157): error: #29: expected an expression .type = WIDGET_TYPE_CALIBRATION_WIN, ..\awtk\src\widgets\calibration_win.c(158): error: #29: expected an expression .is_window = TRUE, ..\awtk\src\widgets\calibration_win.c(159): error: #29: expected an expression .parent = TK_PARENT_VTABLE(window_base), ..\awtk\src\widgets\calibration_win.c(160): error: #29: expected an expression .create = calibration_win_create, ..\awtk\src\widgets\calibration_win.c(161): error: #29: expected an expression .on_event = calibration_win_on_event, ..\awtk\src\widgets\calibration_win.c(162): error: #29: expected an expression .set_prop = window_base_set_prop, ..\awtk\src\widgets\calibration_win.c(163): error: #29: expected an expression .get_prop = window_base_get_prop, ..\awtk\src\widgets\calibration_win.c(164): error: #29: expected an expression .on_paint_begin = window_base_on_paint_begin, ..\awtk\src\widgets\calibration_win.c(165): error: #29: expected an expression .on_paint_end = window_base_on_paint_end, ..\awtk\src\widgets\calibration_win.c(166): error: #29: expected an expression .on_paint_self = calibration_win_on_paint_self}; ..\awtk\src\widgets\calibration_win.c(79): warning: #177-D: function "calibration_win_on_event" was declared but never referenced static ret_t calibration_win_on_event(widget_t widget, event_t e) { ..\awtk\src\widgets\calibration_win.c(132): warning: #177-D: function "calibration_win_on_paint_self" was declared but never referenced static ret_t calibration_win_on_paint_self(widget_t widget, canvas_t c) { ..\awtk\src\widgets\calibration_win.c: 2 warnings, 11 errors compiling font_loader.c... compiling time_now.c... compiling window_base.c... ..\awtk\src\base\window_base.c(279): error: #29: expected an expression
K_DECL_VTABLE(window_base) = {.size = sizeof(window_base_t), .parent = TK_PARENT_VTABLE(widget)}; ..\awtk\src\base\window_base.c(279): error: #29: expected an expression
K_DECL_VTABLE(window_base) = {.size = sizeof(window_base_t), .parent = TK_PARENT_VTABLE(widget)}; ..\awtk\src\base\window_base.c: 0 warnings, 2 errors compiling widget_animator_factory_null.c... compiling style.c... compiling style_factory.c... compiling widget_animator_manager.c... compiling clip_board_default.c... ..\awtk\src\clip_board\clip_board_default.c(79): error: #29: expected an expression .clear = clip_board_default_clear, ..\awtk\src\clip_board\clip_board_default.c(80): error: #29: expected an expression .set_data = clip_board_default_set_data, ..\awtk\src\clip_board\clip_board_default.c(81): error: #29: expected an expression .get_data = clip_board_default_get_data, ..\awtk\src\clip_board\clip_board_default.c(82): error: #29: expected an expression .destroy = clip_board_default_destroy}; ..\awtk\src\clip_board\clip_board_default.c(31): warning: #177-D: function "clip_board_default_clear" was declared but never referenced static ret_t clip_board_default_clear(clip_board_t cl) { ..\awtk\src\clip_board\clip_board_default.c(37): warning: #177-D: function "clip_board_default_set_data" was declared but never referenced static ret_t clip_board_default_set_data(clip_board_t cl, clip_board_data_type_t type, ..\awtk\src\clip_board\clip_board_default.c(46): warning: #177-D: function "clip_board_default_get_data" was declared but never referenced static ret_t clip_board_default_get_data(clip_board_t cl, clip_board_data_type_t type, ..\awtk\src\clip_board\clip_board_default.c(69): warning: #177-D: function "clip_board_default_destroy" was declared but never referenced static ret_t clip_board_default_destroy(clip_board_t cl) { ..\awtk\src\clip_board\clip_board_default.c: 4 warnings, 4 errors compiling style_const.c... ..\awtk\src\base\style_const.c(116): error: #29: expected an expression .is_mutable = FALSE, ..\awtk\src\base\style_const.c(117): error: #29: expected an expression .is_valid = style_const_is_valid, ..\awtk\src\base\style_const.c(118): error: #29: expected an expression .notify_widget_state_changed = style_const_notify_widget_state_changed, ..\awtk\src\base\style_const.c(119): error: #29: expected an expression .get_int = style_const_get_int, ..\awtk\src\base\style_const.c(120): error: #29: expected an expression .get_str = style_const_get_str, ..\awtk\src\base\style_const.c(121): error: #29: expected an expression .get_color = style_const_get_color, ..\awtk\src\base\style_const.c(122): error: #29: expected an expression .destroy = style_const_destroy}; ..\awtk\src\base\style_const.c(75): warning: #177-D: function "style_const_notify_widget_state_changed" was declared but never referenced static ret_t style_const_notify_widget_state_changed(style_t s, widget_t widget) { ..\awtk\src\base\style_const.c(107): warning: #177-D: function "style_const_destroy" was declared but never referenced static ret_t style_const_destroy(style_t s) { ..\awtk\src\base\style_const.c: 2 warnings, 7 errors compiling clip_board.c... compiling image_base.c... ..\awtk\src\base\image_base.c(216): error: #29: expected an expression
K_DECL_VTABLE(image_base) = {.size = sizeof(image_base_t), .parent = TK_PARENT_VTABLE(widget)}; ..\awtk\src\base\image_base.c(216): error: #29: expected an expression
K_DECL_VTABLE(image_base) = {.size = sizeof(image_base_t), .parent = TK_PARENT_VTABLE(widget)}; ..\awtk\src\base\image_base.c: 0 warnings, 2 errors compiling grid_item.c... ..\awtk\src\widgets\grid_item.c(25): error: #29: expected an expression
K_DECL_VTABLE(grid_item) = {.size = sizeof(grid_item_t), ..\awtk\src\widgets\grid_item.c(26): error: #29: expected an expression .type = WIDGET_TYPE_ROW, ..\awtk\src\widgets\grid_item.c(27): error: #29: expected an expression .parent = TK_PARENT_VTABLE(widget), ..\awtk\src\widgets\grid_item.c(28): error: #29: expected an expression .create = grid_item_create}; ..\awtk\src\widgets\grid_item.c: 0 warnings, 4 errors compiling input_device_status.c... compiling system_bar.c... ..\awtk\src\widgets\system_bar.c(98): error: #29: expected an expression
K_DECL_VTABLE(system_bar) = {.size = sizeof(system_bar_t), ..\awtk\src\widgets\system_bar.c(99): error: #29: expected an expression .type = WIDGET_TYPE_SYSTEM_BAR, ..\awtk\src\widgets\system_bar.c(100): error: #29: expected an expression .is_window = TRUE, ..\awtk\src\widgets\system_bar.c(101): error: #29: expected an expression .clone_properties = s_system_bar_properties, ..\awtk\src\widgets\system_bar.c(102): error: #29: expected an expression .persistent_properties = s_system_bar_properties, ..\awtk\src\widgets\system_bar.c(103): error: #29: expected an expression .parent = TK_PARENT_VTABLE(window_base), ..\awtk\src\widgets\system_bar.c(104): error: #29: expected an expression .create = system_bar_create, ..\awtk\src\widgets\system_bar.c(105): error: #29: expected an expression .on_event = system_bar_on_event, ..\awtk\src\widgets\system_bar.c(106): error: #29: expected an expression .set_prop = window_base_set_prop, ..\awtk\src\widgets\system_bar.c(107): error: #29: expected an expression .get_prop = window_base_get_prop, ..\awtk\src\widgets\system_bar.c(108): error: #29: expected an expression .on_paint_self = window_base_on_paint_self, ..\awtk\src\widgets\system_bar.c(109): error: #29: expected an expression .on_paint_begin = window_base_on_paint_begin, ..\awtk\src\widgets\system_bar.c(110): error: #29: expected an expression .on_paint_end = window_base_on_paint_end, ..\awtk\src\widgets\system_bar.c(111): error: #29: expected an expression .on_destroy = system_bar_on_destroy}; ..\awtk\src\widgets\system_bar.c(32): warning: #177-D: variable "s_system_bar_properties" was declared but never referenced static const char s_system_bar_properties[] = {WIDGET_PROP_THEME, NULL}; ..\awtk\src\widgets\system_bar.c(88): warning: #177-D: function "system_bar_on_destroy" was declared but never referenced static ret_t system_bar_on_destroy(widget_t widget) { ..\awtk\src\widgets\system_bar.c: 2 warnings, 14 errors compiling children_layouter_default.c... ..\awtk\src\layouters\children_layouter_default.c(428): error: #29: expected an expression .type = "default", ..\awtk\src\layouters\children_layouter_default.c(429): error: #29: expected an expression .to_string = children_layouter_default_to_string, ..\awtk\src\layouters\children_layouter_default.c(430): error: #29: expected an expression .get_param = children_layouter_default_get_param, ..\awtk\src\layouters\children_layouter_default.c(431): error: #29: expected an expression .set_param = children_layouter_default_set_param, ..\awtk\src\layouters\children_layouter_default.c(432): error: #29: expected an expression .layout = children_layouter_default_layout, ..\awtk\src\layouters\children_layouter_default.c(433): error: #29: expected an expression .is_valid = children_layouter_default_is_valid, ..\awtk\src\layouters\children_layouter_default.c(434): error: #29: expected an expression .destroy = children_layouter_default_destroy}; ..\awtk\src\layouters\children_layouter_default.c(30): warning: #177-D: function "children_layouter_default_to_string" was declared but never referenced static const char children_layouter_default_to_string(children_layouter_t layouter) { ..\awtk\src\layouters\children_layouter_default.c(85): warning: #177-D: function "children_layouter_default_set_param" was declared but never referenced static ret_t children_layouter_default_set_param(children_layouter_t layouter, const char name, ..\awtk\src\layouters\children_layouter_default.c(155): warning: #177-D: function "children_layouter_default_get_param" was declared but never referenced static ret_t children_layouter_default_get_param(children_layouter_t layouter, const char name, ..\awtk\src\layouters\children_layouter_default.c(231): warning: #177-D: function "children_layouter_default_layout" was declared but never referenced static ret_t children_layouter_default_layout(children_layouter_t layouter, widget_t widget) { ..\awtk\src\layouters\children_layouter_default.c(413): warning: #177-D: function "children_layouter_default_is_valid" was declared but never referenced static bool_t children_layouter_default_is_valid(children_layouter_t layouter) { ..\awtk\src\layouters\children_layouter_default.c(419): warning: #177-D: function "children_layouter_default_destroy" was declared but never referenced static ret_t children_layouter_default_destroy(children_layouter_t layouter) { ..\awtk\src\layouters\children_layouter_default.c: 6 warnings, 7 errors compiling children_layouter.c... compiling self_layouter_default.c... ..\awtk\src\layouters\self_layouter_default.c(389): error: #29: expected an expression .type = "default", ..\awtk\src\layouters\self_layouter_default.c(390): error: #29: expected an expression .to_string = self_layouter_default_to_string, ..\awtk\src\layouters\self_layouter_default.c(391): error: #29: expected an expression .get_param = self_layouter_default_get_param, ..\awtk\src\layouters\self_layouter_default.c(392): error: #29: expected an expression .set_param = self_layouter_default_set_param, ..\awtk\src\layouters\self_layouter_default.c(393): error: #29: expected an expression .layout = self_layouter_default_layout, ..\awtk\src\layouters\self_layouter_default.c(394): error: #29: expected an expression .destroy = self_layouter_default_destroy}; ..\awtk\src\layouters\self_layouter_default.c(380): warning: #177-D: function "self_layouter_default_destroy" was declared but never referenced static ret_t self_layouter_default_destroy(self_layouter_t layouter) { ..\awtk\src\layouters\self_layouter_default.c: 1 warning, 6 errors compiling self_layouter.c... compiling date_time.c... compiling func_call_parser.c... compiling event.c... compiling named_value.c... compiling object.c... compiling object_default.c... ..\awtk\src\tkc\object_default.c(257): error: #29: expected an expression .type = "object_default", ..\awtk\src\tkc\object_default.c(258): error: #29: expected an expression .desc = "object_default", ..\awtk\src\tkc\object_default.c(259): error: #29: expected an expression .size = sizeof(object_default_t), ..\awtk\src\tkc\object_default.c(260): error: #29: expected an expression .is_collection = FALSE, ..\awtk\src\tkc\object_default.c(261): error: #29: expected an expression .on_destroy = object_default_on_destroy, ..\awtk\src\tkc\object_default.c(263): error: #29: expected an expression .compare = object_default_compare, ..\awtk\src\tkc\object_default.c(264): error: #29: expected an expression .get_prop = object_default_get_prop, ..\awtk\src\tkc\object_default.c(265): error: #29: expected an expression .set_prop = object_default_set_prop, ..\awtk\src\tkc\object_default.c(266): error: #29: expected an expression .remove_prop = object_default_remove_prop, ..\awtk\src\tkc\object_default.c(267): error: #29: expected an expression .foreach_prop = object_default_foreach_prop}; ..\awtk\src\tkc\object_default.c(67): warning: #177-D: function "object_default_on_destroy" was declared but never referenced static ret_t object_default_on_destroy(object_t obj) { ..\awtk\src\tkc\object_default.c(83): warning: #177-D: function "object_default_compare" was declared but never referenced static int32_t object_default_compare(object_t obj, object_t other) { ..\awtk\src\tkc\object_default.c(152): warning: #177-D: function "object_default_remove_prop" was declared but never referenced static ret_t object_default_remove_prop(object_t obj, const char name) { ..\awtk\src\tkc\object_default.c(175): warning: #177-D: function "object_default_set_prop" was declared but never referenced static ret_t object_default_set_prop(object_t obj, const char name, const value_t v) { ..\awtk\src\tkc\object_default.c(211): warning: #177-D: function "object_default_get_prop" was declared but never referenced static ret_t object_default_get_prop(object_t obj, const char name, value_t v) { ..\awtk\src\tkc\object_default.c(232): warning: #177-D: function "object_default_foreach_prop" was declared but never referenced static ret_t object_default_foreach_prop(object_t obj, tk_visit_t on_prop, void ctx) { ..\awtk\src\tkc\object_default.c: 6 warnings, 10 errors compiling timer_info.c... ..\awtk\src\base\timer_info.c(42): error: #29: expected an expression .type = "timer_info", ..\awtk\src\base\timer_info.c(43): error: #29: expected an expression .desc = "timer_info", ..\awtk\src\base\timer_info.c(44): error: #29: expected an expression .size = sizeof(timer_info_t), ..\awtk\src\base\timer_info.c(45): error: #29: expected an expression .is_collection = FALSE, ..\awtk\src\base\timer_info.c(46): error: #29: expected an expression .on_destroy = (object_on_destroy_t)timer_info_on_destroy}; ..\awtk\src\base\timer_info.c(29): warning: #177-D: function "timer_info_on_destroy" was declared but never referenced static ret_t timer_info_on_destroy(timer_info_t info) { ..\awtk\src\base\timer_info.c: 1 warning, 5 errors compiling timer_manager.c... compiling idle_manager.c... compiling idle_info.c... ..\awtk\src\base\idle_info.c(42): error: #29: expected an expression .type = "idle_info", ..\awtk\src\base\idle_info.c(43): error: #29: expected an expression .desc = "idle_info", ..\awtk\src\base\idle_info.c(44): error: #29: expected an expression .size = sizeof(idle_info_t), ..\awtk\src\base\idle_info.c(45): error: #29: expected an expression .is_collection = FALSE, ..\awtk\src\base\idle_info.c(46): error: #29: expected an expression .on_destroy = (object_on_destroy_t)idle_info_on_destroy}; ..\awtk\src\base\idle_info.c(29): warning: #177-D: function "idle_info_on_destroy" was declared but never referenced static ret_t idle_info_on_destroy(idle_info_t info) { ..\awtk\src\base\idle_info.c: 1 warning, 5 errors compiling slist.c... compiling darray.c... compiling expr_eval.c... compiling widget_pool.c... compiling lcd_profile.c... compiling dialog_highlighter.c... compiling window_animator_factory.c... compiling children_layouter_builtins.c... compiling children_layouter_parser.c... compiling dialog_highlighter_factory.c... compiling self_layouter_builtins.c... compiling self_layouter_parser.c... compiling children_layouter_factory.c... compiling self_layouter_factory.c... compiling shortcut.c... compiling overlay.c... ..\awtk\src\widgets\overlay.c(30): error: #29: expected an expression
K_DECL_VTABLE(overlay) = {.type = WIDGET_TYPE_OVERLAY, ..\awtk\src\widgets\overlay.c(31): error: #29: expected an expression .size = sizeof(overlay_t), ..\awtk\src\widgets\overlay.c(32): error: #29: expected an expression .is_window = TRUE, ..\awtk\src\widgets\overlay.c(33): error: #29: expected an expression .parent = TK_PARENT_VTABLE(window_base), ..\awtk\src\widgets\overlay.c(34): error: #29: expected an expression .create = overlay_create, ..\awtk\src\widgets\overlay.c(35): error: #29: expected an expression .clone_properties = s_overlay_properties, ..\awtk\src\widgets\overlay.c(36): error: #29: expected an expression .persistent_properties = s_overlay_properties, ..\awtk\src\widgets\overlay.c(37): error: #29: expected an expression .on_event = window_base_on_event, ..\awtk\src\widgets\overlay.c(38): error: #29: expected an expression .on_paint_self = window_base_on_paint_self, ..\awtk\src\widgets\overlay.c(39): error: #29: expected an expression .on_paint_begin = window_base_on_paint_begin, ..\awtk\src\widgets\overlay.c(40): error: #29: expected an expression .on_paint_end = window_base_on_paint_end, ..\awtk\src\widgets\overlay.c(41): error: #29: expected an expression .set_prop = window_base_set_prop, ..\awtk\src\widgets\overlay.c(42): error: #29: expected an expression .get_prop = window_base_get_prop, ..\awtk\src\widgets\overlay.c(43): error: #29: expected an expression .on_destroy = window_base_on_destroy}; ..\awtk\src\widgets\overlay.c(27): warning: #177-D: variable "s_overlay_properties" was declared but never referenced static const char s_overlay_properties[] = { ..\awtk\src\widgets\overlay.c: 1 warning, 14 errors compiling int_str.c... compiling style_mutable.c... ..\awtk\src\base\style_mutable.c(322): error: #29: expected an expression .is_mutable = TRUE, ..\awtk\src\base\style_mutable.c(323): error: #29: expected an expression .is_valid = style_mutable_is_valid, ..\awtk\src\base\style_mutable.c(324): error: #29: expected an expression .notify_widget_state_changed = style_mutable_notify_widget_state_changed, ..\awtk\src\base\style_mutable.c(325): error: #29: expected an expression .get_int = style_mutable_get_int, ..\awtk\src\base\style_mutable.c(326): error: #29: expected an expression .get_str = style_mutable_get_str, ..\awtk\src\base\style_mutable.c(327): error: #29: expected an expression .get_color = style_mutable_get_color, ..\awtk\src\base\style_mutable.c(328): error: #29: expected an expression .set = style_mutable_set_value, ..\awtk\src\base\style_mutable.c(329): error: #29: expected an expression .destroy = style_mutable_destroy}; ..\awtk\src\base\style_mutable.c(357): error: #29: expected an expression static const style_factory_t s_style_factory = {.create_style = style_factory_create_style_mutable}; ..\awtk\src\base\style_mutable.c(153): warning: #177-D: function "style_mutable_notify_widget_state_changed" was declared but never referenced static ret_t style_mutable_notify_widget_state_changed(style_t s, widget_t widget) { ..\awtk\src\base\style_mutable.c(177): warning: #177-D: function "style_mutable_get_int" was declared but never referenced static int32_t style_mutable_get_int(style_t s, const char name, int32_t defval) { ..\awtk\src\base\style_mutable.c(190): warning: #177-D: function "style_mutable_get_color" was declared but never referenced static color_t style_mutable_get_color(style_t s, const char name, color_t defval) { ..\awtk\src\base\style_mutable.c(309): warning: #177-D: function "style_mutable_destroy" was declared but never referenced static ret_t style_mutable_destroy(style_t s) { ..\awtk\src\base\style_mutable.c(346): warning: #177-D: function "style_factory_create_style_mutable" was declared but never referenced static style_t style_factory_create_style_mutable(style_factory_t factory, widget_t widget) { ..\awtk\src\base\style_mutable.c: 5 warnings, 9 errors compiling str_str.c... compiling hscrollable.c... ..\awtk\src\base\hscrollable.c(245): error: #268: declaration may not appear after executable statement in block rect_t r = rect_init(c->ox, c->oy, widget->w, widget->h); ..\awtk\src\base\hscrollable.c(247): error: #268: declaration may not appear after executable statement in block int32_t xoffset = -hscrollable->xoffset; ..\awtk\src\base\hscrollable.c: 0 warnings, 2 errors compiling text_edit.c... ..\awtk\src\base\text_edit.c(613): error: #29: expected an expression point_t p = {.x = 0, .y = 0}; ..\awtk\src\base\text_edit.c(613): error: #29: expected an expression point_t p = {.x = 0, .y = 0}; ..\awtk\src\base\text_edit.c(768): error: #28: expression must have a constant value point_t point = {x, y}; ..\awtk\src\base\text_edit.c(768): error: #28: expression must have a constant value point_t point = {x, y}; ..\awtk\src\base\text_edit.c: 0 warnings, 4 errors compiling self_layouter_menu.c... ..\awtk\src\layouters\self_layouter_menu.c(354): error: #29: expected an expression .type = "menu", ..\awtk\src\layouters\self_layouter_menu.c(355): error: #29: expected an expression .get_param = self_layouter_menu_get_param, ..\awtk\src\layouters\self_layouter_menu.c(356): error: #29: expected an expression .set_param = self_layouter_menu_set_param, ..\awtk\src\layouters\self_layouter_menu.c(357): error: #29: expected an expression .layout = self_layouter_menu_layout, ..\awtk\src\layouters\self_layouter_menu.c(358): error: #29: expected an expression .destroy = self_layouter_menu_destroy}; ..\awtk\src\layouters\self_layouter_menu.c(345): warning: #177-D: function "self_layouter_menu_destroy" was declared but never referenced static ret_t self_layouter_menu_destroy(self_layouter_t layouter) { ..\awtk\src\layouters\self_layouter_menu.c: 1 warning, 5 errors compiling native_window_raw.c... ..\awtk\src\native_window\native_window_raw.c(63): error: #29: expected an expression .type = "native_window_raw", ..\awtk\src\native_window\native_window_raw.c(64): error: #29: expected an expression .move = native_window_raw_move, ..\awtk\src\native_window\native_window_raw.c(65): error: #29: expected an expression .get_info = native_window_raw_get_info, ..\awtk\src\native_window\native_window_raw.c(66): error: #29: expected an expression .resize = native_window_raw_resize, ..\awtk\src\native_window\native_window_raw.c(67): error: #29: expected an expression .get_canvas = native_window_raw_get_canvas}; ..\awtk\src\native_window\native_window_raw.c(86): error: #29: expected an expression .type = "native_window_raw", ..\awtk\src\native_window\native_window_raw.c(87): error: #29: expected an expression .desc = "native_window_raw", ..\awtk\src\native_window\native_window_raw.c(88): error: #29: expected an expression .size = sizeof(native_window_raw_t), ..\awtk\src\native_window\native_window_raw.c(89): error: #29: expected an expression .get_prop = native_window_raw_get_prop, ..\awtk\src\native_window\native_window_raw.c(90): error: #29: expected an expression .set_prop = native_window_raw_set_prop, ..\awtk\src\native_window\native_window_raw.c(91): error: #29: expected an expression .on_destroy = native_window_raw_on_destroy}; ..\awtk\src\native_window\native_window_raw.c(99): error: #268: declaration may not appear after executable statement in block canvas_t c = &(raw->canvas); ..\awtk\src\native_window\native_window_raw.c(34): warning: #177-D: function "native_window_raw_move" was declared but never referenced static ret_t native_window_raw_move(native_window_t win, xy_t x, xy_t y) { ..\awtk\src\native_window\native_window_raw.c(38): warning: #177-D: function "native_window_raw_resize" was declared but never referenced static ret_t native_window_raw_resize(native_window_t win, wh_t w, wh_t h) { ..\awtk\src\native_window\native_window_raw.c(42): warning: #177-D: function "native_window_raw_get_canvas" was declared but never referenced static canvas_t native_window_raw_get_canvas(native_window_t win) { ..\awtk\src\native_window\native_window_raw.c(48): warning: #177-D: function "native_window_raw_get_info" was declared but never referenced static ret_t native_window_raw_get_info(native_window_t win, native_window_info_t info) { ..\awtk\src\native_window\native_window_raw.c(69): warning: #177-D: function "native_window_raw_set_prop" was declared but never referenced static ret_t native_window_raw_set_prop(object_t obj, const char name, const value_t v) { ..\awtk\src\native_window\native_window_raw.c(73): warning: #177-D: function "native_window_raw_get_prop" was declared but never referenced static ret_t native_window_raw_get_prop(object_t obj, const char name, value_t v) { ..\awtk\src\native_window\native_window_raw.c(77): warning: #177-D: function "native_window_raw_on_destroy" was declared but never referenced static ret_t native_window_raw_on_destroy(object_t obj) { ..\awtk\src\native_window\native_window_raw.c: 7 warnings, 12 errors compiling native_window.c... compiling window_manager_default.c... ..\awtk\src\window_manager\window_manager_default.c(1023): error: #29: expected an expression .paint = window_manager_default_paint, ..\awtk\src\window_manager\window_manager_default.c(1024): error: #29: expected an expression .post_init = window_manager_default_post_init, ..\awtk\src\window_manager\window_manager_default.c(1025): error: #29: expected an expression .set_cursor = window_manager_default_set_cursor, ..\awtk\src\window_manager\window_manager_default.c(1026): error: #29: expected an expression .open_window = window_manager_default_open_window, ..\awtk\src\window_manager\window_manager_default.c(1027): error: #29: expected an expression .get_pointer = window_manager_default_get_pointer, ..\awtk\src\window_manager\window_manager_default.c(1028): error: #29: expected an expression .close_window = window_manager_default_close_window, ..\awtk\src\window_manager\window_manager_default.c(1029): error: #29: expected an expression .set_show_fps = window_manager_default_set_show_fps, ..\awtk\src\window_manager\window_manager_default.c(1030): error: #29: expected an expression .get_prev_window = window_manager_default_get_prev_window, ..\awtk\src\window_manager\window_manager_default.c(1031): error: #29: expected an expression .close_window_force = window_manager_default_close_window_force, ..\awtk\src\window_manager\window_manager_default.c(1032): error: #29: expected an expression .dispatch_input_event = window_manager_default_dispatch_input_event, ..\awtk\src\window_manager\window_manager_default.c(1033): error: #29: expected an expression .dispatch_native_window_event = window_manager_native_dispatch_native_window_event, ..\awtk\src\window_manager\window_manager_default.c(1034): error: #29: expected an expression .snap_curr_window = window_manager_default_snap_curr_window, ..\awtk\src\window_manager\window_manager_default.c(1035): error: #29: expected an expression .snap_prev_window = window_manager_default_snap_prev_window, ..\awtk\src\window_manager\window_manager_default.c(1036): error: #29: expected an expression .get_dialog_highlighter = window_manager_default_get_dialog_highlighter, ..\awtk\src\window_manager\window_manager_default.c(1037): error: #29: expected an expression .set_screen_saver_time = window_manager_default_set_screen_saver_time}; ..\awtk\src\window_manager\window_manager_default.c(1040): error: #29: expected an expression .size = sizeof(window_manager_t), ..\awtk\src\window_manager\window_manager_default.c(1041): error: #29: expected an expression .is_window_manager = TRUE, ..\awtk\src\window_manager\window_manager_default.c(1042): error: #29: expected an expression .type = WIDGET_TYPE_WINDOW_MANAGER, ..\awtk\src\window_manager\window_manager_default.c(1043): error: #29: expected an expression .set_prop = window_manager_default_set_prop, ..\awtk\src\window_manager\window_manager_default.c(1044): error: #29: expected an expression .get_prop = window_manager_default_get_prop, ..\awtk\src\window_manager\window_manager_default.c(1045): error: #29: expected an expression .on_event = window_manager_default_on_event, ..\awtk\src\window_manager\window_manager_default.c(1046): error: #29: expected an expression .invalidate = window_manager_default_invalidate, ..\awtk\src\window_manager\window_manager_default.c(1047): error: #29: expected an expression .on_layout_children = window_manager_default_on_layout_children, ..\awtk\src\window_manager\window_manager_default.c(1048): error: #29: expected an expression .on_paint_children = window_manager_default_on_paint_children, ..\awtk\src\window_manager\window_manager_default.c(1049): error: #29: expected an expression .on_remove_child = window_manager_default_on_remove_child, ..\awtk\src\window_manager\window_manager_default.c(1050): error: #29: expected an expression .find_target = window_manager_default_find_target, ..\awtk\src\window_manager\window_manager_default.c(1051): error: #29: expected an expression .on_destroy = window_manager_default_on_destroy}; ..\awtk\src\window_manager\window_manager_default.c(232): warning: #177-D: function "window_manager_default_get_dialog_highlighter" was declared but never referenced static dialog_highlighter_t window_manager_default_get_dialog_highlighter(widget_t widget) { ..\awtk\src\window_manager\window_manager_default.c(387): warning: #177-D: function "window_manager_default_open_window" was declared but never referenced static ret_t window_manager_default_open_window(widget_t widget, widget_t window) { ..\awtk\src\window_manager\window_manager_default.c(463): warning: #177-D: function "window_manager_default_close_window" was declared but never referenced static ret_t window_manager_default_close_window(widget_t widget, widget_t window) { ..\awtk\src\window_manager\window_manager_default.c(493): warning: #177-D: function "window_manager_default_close_window_force" was declared but never referenced static ret_t window_manager_default_close_window_force(widget_t widget, widget_t window) { ..\awtk\src\window_manager\window_manager_default.c(508): warning: #177-D: function "window_manager_default_find_target" was declared but never referenced static widget_t window_manager_default_find_target(widget_t widget, xy_t x, xy_t y) { ..\awtk\src\window_manager\window_manager_default.c(659): warning: #177-D: function "window_manager_default_paint" was declared but never referenced static ret_t window_manager_default_paint(widget_t widget) { ..\awtk\src\window_manager\window_manager_default.c(690): warning: #177-D: function "window_manager_default_get_prev_window" was declared but never referenced static widget_t window_manager_default_get_prev_window(widget_t widget) { ..\awtk\src\window_manager\window_manager_default.c(696): warning: #177-D: function "window_manager_default_on_paint_children" was declared but never referenced static ret_t window_manager_default_on_paint_children(widget_t widget, canvas_t c) { ..\awtk\src\window_manager\window_manager_default.c(744): warning: #177-D: function "window_manager_default_on_remove_child" was declared but never referenced static ret_t window_manager_default_on_remove_child(widget_t widget, widget_t window) { ..\awtk\src\window_manager\window_manager_default.c(756): warning: #177-D: function "window_manager_default_get_prop" was declared but never referenced static ret_t window_manager_default_get_prop(widget_t widget, const char name, value_t v) { ..\awtk\src\window_manager\window_manager_default.c(772): warning: #177-D: function "window_manager_default_set_prop" was declared but never referenced static ret_t window_manager_default_set_prop(widget_t widget, const char name, const value_t v) { ..\awtk\src\window_manager\window_manager_default.c(782): warning: #177-D: function "window_manager_default_on_destroy" was declared but never referenced static ret_t window_manager_default_on_destroy(widget_t widget) { ..\awtk\src\window_manager\window_manager_default.c(790): warning: #177-D: function "window_manager_default_on_layout_children" was declared but never referenced static ret_t window_manager_default_on_layout_children(widget_t widget) { ..\awtk\src\window_manager\window_manager_default.c(909): warning: #177-D: function "window_manager_default_post_init" was declared but never referenced static ret_t window_manager_default_post_init(widget_t widget, wh_t w, wh_t h) { ..\awtk\src\window_manager\window_manager_default.c(972): warning: #177-D: function "window_manager_default_set_cursor" was declared but never referenced static ret_t window_manager_default_set_cursor(widget_t widget, const char cursor) { ..\awtk\src\window_manager\window_manager_default.c(952): warning: #177-D: function "window_manager_default_set_show_fps" was declared but never referenced static ret_t window_manager_default_set_show_fps(widget_t widget, bool_t show_fps) { ..\awtk\src\window_manager\window_manager_default.c(928): warning: #177-D: function "window_manager_default_dispatch_input_event" was declared but never referenced static ret_t window_manager_default_dispatch_input_event(widget_t widget, event_t e) { ..\awtk\src\window_manager\window_manager_default.c(961): warning: #177-D: function "window_manager_default_set_screen_saver_time" was declared but never referenced static ret_t window_manager_default_set_screen_saver_time(widget_t widget, ..\awtk\src\window_manager\window_manager_default.c(808): warning: #177-D: function "window_manager_default_get_pointer" was declared but never referenced static ret_t window_manager_default_get_pointer(widget_t widget, xy_t x, xy_t y, ..\awtk\src\window_manager\window_manager_default.c(826): warning: #177-D: function "window_manager_default_on_event" was declared but never referenced static ret_t window_manager_default_on_event(widget_t widget, event_t e) { ..\awtk\src\window_manager\window_manager_default.c(1013): warning: #177-D: function "window_manager_native_dispatch_native_window_event" was declared but never referenced static ret_t window_manager_native_dispatch_native_window_event(widget_t widget, event_t e, ..\awtk\src\window_manager\window_manager_default.c: 21 warnings, 27 errors compiling dialog_helper.c... compiling lcd_stm32_raw.c... ..\awtk\src\base/pixel.h(41): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_rgb565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(41): error: #65: expected a ";" static inline void pixel_rgb565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(61): warning: #12-D: parsing restarts here after previous syntax error } pixel_bgr565_t; ..\awtk\src\base/pixel.h(71): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_bgr565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(71): error: #65: expected a ";" static inline void pixel_bgr565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(101): warning: #12-D: parsing restarts here after previous syntax error } pixel_rgb888_t; ..\awtk\src\base/pixel.h(111): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_rgb888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(111): error: #65: expected a ";" static inline void pixel_rgb888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(132): warning: #12-D: parsing restarts here after previous syntax error } pixel_bgr888_t; ..\awtk\src\base/pixel.h(141): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_bgr888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(141): error: #65: expected a ";" static inline void pixel_bgr888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(163): warning: #12-D: parsing restarts here after previous syntax error } pixel_rgba8888_t; ..\awtk\src\base/pixel.h(174): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_rgba8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(174): error: #65: expected a ";" static inline void pixel_rgba8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(196): warning: #12-D: parsing restarts here after previous syntax error } pixel_abgr8888_t; ..\awtk\src\base/pixel.h(207): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_abgr8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(207): error: #65: expected a ";" static inline void pixel_abgr8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(229): warning: #12-D: parsing restarts here after previous syntax error } pixel_bgra8888_t; ..\awtk\src\base/pixel.h(240): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_bgra8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(240): error: #65: expected a ";" static inline void pixel_bgra8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(262): warning: #12-D: parsing restarts here after previous syntax error } pixel_argb8888_t; ..\awtk\src\base/pixel.h(273): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_argb8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(273): error: #65: expected a ";" static inline void pixel_argb8888_blend_rgba_dark(void* pixel, uint8_t a) { ..\awtk\src\tkc/value.h(120): warning: #12-D: parsing restarts here after previous syntax error } value_type_t; ..\awtk\src\lcd/lcd_reg.inc(107): warning: #223-D: function "blend_color" declared implicitly pixel_t color = blend_color(fill_color, text_color, a); ..\awtk\src\lcd/lcd_reg.inc(184): warning: #223-D: function "blend_color" declared implicitly
rite_data_func(blend_color(fill_color, src_color, a)); ..\awtk\src\lcd/lcd_reg.inc(212): warning: #223-D: function "blend_color" declared implicitly
rite_data_func(blend_color(fill_color, src_color, a)); ..\awtk-port\lcd_stm32_raw.c: 19 warnings, 8 errors compiling mutex_null.c... compiling platform.c... compiling sys_tick.c... compiling fs_os.c... compiling main_loop_stm32_raw.c... compiling demo1_app.c... ..\awtk\demos\common.inc(3): error: #20: identifier "inline" is undefined static inline ret_t on_timer(const timer_info_t timer) { ..\awtk\demos\common.inc(3): error: #101: "ret_t" has already been declared in the current scope static inline ret_t on_timer(const timer_info_t timer) { ..\awtk\demos\common.inc(3): error: #65: expected a ";" static inline ret_t on_timer(const timer_info_t* timer) { ..\awtk\demos\demo1_app.c(62): warning: #12-D: parsing restarts here after previous syntax error code = dialog_modal(win); ..\awtk\demos\demo1_app.c(65): error: #40: expected an identifier (void)code; ..\awtk\demos\demo1_app.c(65): error: #65: expected a ";" (void)code; ..\awtk\demos\demo1_app.c(66): warning: #1295-D: Deprecated declaration tk_mem_dump - give arg types tk_mem_dump(); ..\awtk\demos\demo1_app.c(66): warning: #77-D: this declaration has no storage class or type specifier tk_mem_dump(); ..\awtk\demos\demo1_app.c(66): error: #147: declaration is incompatible with "void tk_mem_dump(void)" (declared at line 135 of "..\awtk\src\tkc/mem.h") tk_mem_dump(); ..\awtk\demos\demo1_app.c(67): error: #40: expected an identifier (void)e; ..\awtk\demos\demo1_app.c(67): error: #65: expected a ";" (void)e; ..\awtk\demos\demo1_app.c(69): error: #169: expected a declaration return RET_OK; ..\awtk\demos\demo1_app.c(70): error: #169: expected a declaration } ..\awtk\demos\demo1_app.c(94): warning: #12-D: parsing restarts here after previous syntax error image = image_create(win, 10, 230, 100, 100); ..\awtk\demos\demo1_app.c(95): error: #40: expected an identifier
mage_set_image(image, "earth"); ..\awtk\demos\demo1_app.c(95): warning: #77-D: this declaration has no storage class or type specifier
mage_set_image(image, "earth"); ..\awtk\demos\demo1_app.c(95): error: #92: identifier-list parameters may only be used in a function definition
mage_set_image(image, "earth"); ..\awtk\demos\demo1_app.c(95): error: #147: declaration is incompatible with "ret_t image_base_set_image(widget_t , const char )" (declared at line 126 of "..\awtk\src\base/image_base.h")
mage_set_image(image, "earth"); ..\awtk\demos\demo1_app.c(96): warning: #77-D: this declaration has no storage class or type specifier image_set_draw_type(image, IMAGE_DRAW_ICON); ..\awtk\demos\demo1_app.c(96): error: #92: identifier-list parameters may only be used in a function definition image_set_draw_type(image, IMAGE_DRAW_ICON); ..\awtk\demos\demo1_app.c(96): error: #147: declaration is incompatible with "ret_t image_set_draw_type(widget_t *, image_draw_type_t)" (declared at line 127 of "..\awtk\src\widgets/image.h") image_set_draw_type(image, IMAGE_DRAW_ICON); ..\awtk\demos\demo1_app.c(98): error: #77-D: this declaration has no storage class or type specifier image = image_create(win, 100, 230, 100, 100); ..\awtk\demos\demo1_app.c(98): error: #59: function call is not allowed in a constant expression image = image_create(win, 100, 230, 100, 100); ..\awtk\demos\demo1_app.c(98): error: #20: identifier "win" is undefined image = image_create(win, 100, 230, 100, 100); ..\awtk\demos\demo1_app.c(99): error: #40: expected an identifier
mage_set_image(image, "earth"); ..\awtk\demos\demo1_app.c(99): warning: #77-D: this declaration has no storage class or type specifier
mage_set_image(image, "earth"); ..\awtk\demos\demo1_app.c(99): error: #92: identifier-list parameters may only be used in a function definition
mage_set_image(image, "earth"); ..\awtk\demos\demo1_app.c(100): warning: #77-D: this declaration has no storage class or type specifier image_set_draw_type(image, IMAGE_DRAW_SCALE); ..\awtk\demos\demo1_app.c(100): error: #92: identifier-list parameters may only be used in a function definition image_set_draw_type(image, IMAGE_DRAW_SCALE); ..\awtk\demos\demo1_app.c(102): error: #77-D: this declaration has no storage class or type specifier image = image_create(win, 10, 360, 100, 100); ..\awtk\demos\demo1_app.c(102): error: #148: variable "image" has already been initialized image = image_create(win, 10, 360, 100, 100); ..\awtk\demos\demo1_app.c(102): error: #59: function call is not allowed in a constant expression image = image_create(win, 10, 360, 100, 100); ..\awtk\demos\demo1_app.c(103): error: #40: expected an identifier
mage_set_image(image, "bricks"); ..\awtk\demos\demo1_app.c(103): warning: #77-D: this declaration has no storage class or type specifier
mage_set_image(image, "bricks"); ..\awtk\demos\demo1_app.c(103): error: #92: identifier-list parameters may only be used in a function definition
mage_set_image(image, "bricks"); ..\awtk\demos\demo1_app.c(104): warning: #77-D: this declaration has no storage class or type specifier image_set_draw_type(image, IMAGE_DRAW_ICON); ..\awtk\demos\demo1_app.c(104): error: #92: identifier-list parameters may only be used in a function definition image_set_draw_type(image, IMAGE_DRAW_ICON); ..\awtk\demos\demo1_app.c(106): error: #77-D: this declaration has no storage class or type specifier image = image_create(win, 100, 360, 100, 100); ..\awtk\demos\demo1_app.c(106): error: #148: variable "image" has already been initialized image = image_create(win, 100, 360, 100, 100); ..\awtk\demos\demo1_app.c(106): error: #59: function call is not allowed in a constant expression image = image_create(win, 100, 360, 100, 100); ..\awtk\demos\demo1_app.c: 10 warnings, 30 errors compiling demo_main.c... ..\awtk\src\base/pixel.h(41): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_rgb565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(41): error: #65: expected a ";" static inline void pixel_rgb565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(61): warning: #12-D: parsing restarts here after previous syntax error } pixel_bgr565_t; ..\awtk\src\base/pixel.h(71): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_bgr565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(71): error: #65: expected a ";" static inline void pixel_bgr565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(101): warning: #12-D: parsing restarts here after previous syntax error } pixel_rgb888_t; ..\awtk\src\base/pixel.h(111): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_rgb888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(111): error: #65: expected a ";" static inline void pixel_rgb888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(132): warning: #12-D: parsing restarts here after previous syntax error } pixel_bgr888_t; ..\awtk\src\base/pixel.h(141): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_bgr888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(141): error: #65: expected a ";" static inline void pixel_bgr888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(163): warning: #12-D: parsing restarts here after previous syntax error } pixel_rgba8888_t; ..\awtk\src\base/pixel.h(174): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_rgba8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(174): error: #65: expected a ";" static inline void pixel_rgba8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(196): warning: #12-D: parsing restarts here after previous syntax error } pixel_abgr8888_t; ..\awtk\src\base/pixel.h(207): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_abgr8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(207): error: #65: expected a ";" static inline void pixel_abgr8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(229): warning: #12-D: parsing restarts here after previous syntax error } pixel_bgra8888_t; ..\awtk\src\base/pixel.h(240): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_bgra8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(240): error: #65: expected a ";" static inline void pixel_bgra8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(262): warning: #12-D: parsing restarts here after previous syntax error } pixel_argb8888_t; ..\awtk\src\base/pixel.h(273): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_argb8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(273): error: #65: expected a ";" static inline void pixel_argb8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/rom_fs.h(33): warning: #12-D: parsing restarts here after previous syntax error } rom_file_t; ..\awtk\src\base/rom_fs.h(35): error: #20: identifier "rom_file_t" is undefined rom_file_t rom_fopen(const char name, const char mode); ..\awtk\src\base/rom_fs.h(36): error: #20: identifier "rom_file_t" is undefined rom_file_t rom_fopen_buff(const uint8_t data, uint32_t capacity); ..\awtk\src\base/rom_fs.h(37): error: #20: identifier "rom_file_t" is undefined long rom_ftell(rom_file_t f); ..\awtk\src\base/rom_fs.h(38): error: #20: identifier "rom_file_t" is undefined int rom_feof(rom_file_t f); ..\awtk\src\base/rom_fs.h(39): error: #20: identifier "rom_file_t" is undefined int rom_ferror(rom_file_t f); ..\awtk\src\base/rom_fs.h(40): error: #20: identifier "rom_file_t" is undefined int rom_fseek(rom_file_t f, long offset, int whence); ..\awtk\src\base/rom_fs.h(41): error: #20: identifier "rom_file_t" is undefined size_t rom_fread(void ptr, size_t size, size_t nitems, rom_file_t f); ..\awtk\src\base/rom_fs.h(42): error: #20: identifier "rom_file_t" is undefined size_t rom_fwrite(const void ptr, size_t size, size_t nitems, rom_file_t f); ..\awtk\src\base/rom_fs.h(43): error: #20: identifier "rom_file_t" is undefined ret_t rom_fclose(rom_file_t f); ..\awtk\demos\demo_main.c: 16 warnings, 17 errors compiling assets-mini.c... ..\awtk\src\base/pixel.h(41): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_rgb565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(41): error: #65: expected a ";" static inline void pixel_rgb565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(61): warning: #12-D: parsing restarts here after previous syntax error } pixel_bgr565_t; ..\awtk\src\base/pixel.h(71): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_bgr565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(71): error: #65: expected a ";" static inline void pixel_bgr565_blend_rgba_dark(void p, uint8_t a) { ..\awtk\src\base/pixel.h(101): warning: #12-D: parsing restarts here after previous syntax error } pixel_rgb888_t; ..\awtk\src\base/pixel.h(111): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_rgb888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(111): error: #65: expected a ";" static inline void pixel_rgb888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(132): warning: #12-D: parsing restarts here after previous syntax error } pixel_bgr888_t; ..\awtk\src\base/pixel.h(141): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_bgr888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(141): error: #65: expected a ";" static inline void pixel_bgr888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(163): warning: #12-D: parsing restarts here after previous syntax error } pixel_rgba8888_t; ..\awtk\src\base/pixel.h(174): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_rgba8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(174): error: #65: expected a ";" static inline void pixel_rgba8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(196): warning: #12-D: parsing restarts here after previous syntax error } pixel_abgr8888_t; ..\awtk\src\base/pixel.h(207): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_abgr8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(207): error: #65: expected a ";" static inline void pixel_abgr8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(229): warning: #12-D: parsing restarts here after previous syntax error } pixel_bgra8888_t; ..\awtk\src\base/pixel.h(240): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_bgra8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(240): error: #65: expected a ";" static inline void pixel_bgra8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(262): warning: #12-D: parsing restarts here after previous syntax error } pixel_argb8888_t; ..\awtk\src\base/pixel.h(273): warning: #260-D: explicit type is missing ("int" assumed) static inline void pixel_argb8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/pixel.h(273): error: #65: expected a ";" static inline void pixel_argb8888_blend_rgba_dark(void pixel, uint8_t a) { ..\awtk\src\base/rom_fs.h(33): warning: #12-D: parsing restarts here after previous syntax error } rom_file_t; ..\awtk\src\base/rom_fs.h(35): error: #20: identifier "rom_file_t" is undefined rom_file_t rom_fopen(const char name, const char mode); ..\awtk\src\base/rom_fs.h(36): error: #20: identifier "rom_file_t" is undefined rom_file_t rom_fopen_buff(const uint8_t data, uint32_t capacity); ..\awtk\src\base/rom_fs.h(37): error: #20: identifier "rom_file_t" is undefined long rom_ftell(rom_file_t f); ..\awtk\src\base/rom_fs.h(38): error: #20: identifier "rom_file_t" is undefined int rom_feof(rom_file_t f); ..\awtk\src\base/rom_fs.h(39): error: #20: identifier "rom_file_t" is undefined int rom_ferror(rom_file_t f); ..\awtk\src\base/rom_fs.h(40): error: #20: identifier "rom_file_t" is undefined int rom_fseek(rom_file_t f, long offset, int whence); ..\awtk\src\base/rom_fs.h(41): error: #20: identifier "rom_file_t" is undefined size_t rom_fread(void ptr, size_t size, size_t nitems, rom_file_t f); ..\awtk\src\base/rom_fs.h(42): error: #20: identifier "rom_file_t" is undefined size_t rom_fwrite(const void ptr, size_t size, size_t nitems, rom_file_t f); ..\awtk\src\base/rom_fs.h(43): error: #20: identifier "rom_file_t" is undefined ret_t rom_fclose(rom_file_t f); ..\awtk\demos\assets-mini.c: 16 warnings, 17 errors "..\obj\awtk_demo1.axf" - 590 Error(s), 238 Warning(s). Target not created. Build Time Elapsed: 00:00:34
编译器有点老:
你看一下armcc的版本,会不会同时安装了keil4和和keil5,虽然用的keil5,但是编译器却是用的keil4的。
解决了,不是编译器版本的问题,是勾选了这个就可以了,不然里面很多语法不支持,导致错误的
谢谢作者耐心指导,谢谢开发这么棒的gui,谢谢
好的,谢谢支持。
下载了awtk-stm32f103ze-raw 和awtk-master,将awtk文件夹放在工程目录里面,用keil4打开,出现非常多的错误,请问是我下载的文件错误吗?还是我放置的方法不对?还是文件不匹配?