LVGL 8.0 compilation issues

Hello everyone i have some compilation warnings in lvgl 8.0.0 version
here is part of compilation log where warnings occured

*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'

compiling lv_theme_default.c...
..\LVGL\src\extra\themes\default\lv_theme_default.c(207): warning:  #188-D: enumerated type mixed with another type
..\LVGL\src\extra\themes\default\lv_theme_default.c: 1 warning, 0 errors

compiling lv_flex.c...
..\LVGL\src\extra\layouts\flex\lv_flex.c(94): warning:  #188-D: enumerated type mixed with another type
      LV_STYLE_FLEX_MAIN_PLACE = lv_style_register_prop() | 
V_STYLE_PROP_LAYOUT_REFR;
..\LVGL\src\extra\layouts\flex\lv_flex.c(95): warning:  #188-D: enumerated type mixed with another type
      LV_STYLE_FLEX_CROSS_PLACE = lv_style_register_prop() | 
V_STYLE_PROP_LAYOUT_REFR;
..\LVGL\src\extra\layouts\flex\lv_flex.c(96): warning:  #188-D: enumerated type mixed with another type
      LV_STYLE_FLEX_TRACK_PLACE = lv_style_register_prop() | 
V_STYLE_PROP_LAYOUT_REFR;
..\LVGL\src\extra\layouts\flex\lv_flex.c: 3 warnings, 0 errors

compiling lv_grid.c...
..\LVGL\src\extra\layouts\grid\lv_grid.c(103): warning:  #188-D: enumerated type mixed with another type
      LV_STYLE_GRID_COLUMN_DSC_ARRAY = lv_style_register_prop() | 
V_STYLE_PROP_LAYOUT_REFR;
..\LVGL\src\extra\layouts\grid\lv_grid.c(104): warning:  #188-D: enumerated type mixed with another type
      LV_STYLE_GRID_ROW_DSC_ARRAY = lv_style_register_prop() | 
V_STYLE_PROP_LAYOUT_REFR;
..\LVGL\src\extra\layouts\grid\lv_grid.c(105): warning:  #188-D: enumerated type mixed with another type
      LV_STYLE_GRID_COLUMN_ALIGN = lv_style_register_prop() | 
V_STYLE_PROP_LAYOUT_REFR;
..\LVGL\src\extra\layouts\grid\lv_grid.c(106): warning:  #188-D: enumerated type mixed with another type
      LV_STYLE_GRID_ROW_ALIGN = lv_style_register_prop() | 
V_STYLE_PROP_LAYOUT_REFR;
..\LVGL\src\extra\layouts\grid\lv_grid.c(108): warning:  #188-D: enumerated type mixed with another type
      LV_STYLE_GRID_CELL_ROW_SPAN = lv_style_register_prop() | 
V_STYLE_PROP_LAYOUT_REFR;
..\LVGL\src\extra\layouts\grid\lv_grid.c(109): warning:  #188-D: enumerated type mixed with another type
      LV_STYLE_GRID_CELL_ROW_POS = lv_style_register_prop() | 
V_STYLE_PROP_LAYOUT_REFR;
..\LVGL\src\extra\layouts\grid\lv_grid.c(110): warning:  #188-D: enumerated type mixed with another type
      LV_STYLE_GRID_CELL_COLUMN_SPAN = lv_style_register_prop() | 
V_STYLE_PROP_LAYOUT_REFR;
..\LVGL\src\extra\layouts\grid\lv_grid.c(111): warning:  #188-D: enumerated type mixed with another type
      LV_STYLE_GRID_CELL_COLUMN_POS = lv_style_register_prop() | 
V_STYLE_PROP_LAYOUT_REFR;
..\LVGL\src\extra\layouts\grid\lv_grid.c(112): warning:  #188-D: enumerated type mixed with another type
      LV_STYLE_GRID_CELL_X_ALIGN = lv_style_register_prop() | 
V_STYLE_PROP_LAYOUT_REFR;
..\LVGL\src\extra\layouts\grid\lv_grid.c(113): warning:  #188-D: enumerated type mixed with another type
      LV_STYLE_GRID_CELL_Y_ALIGN = lv_style_register_prop() | 
V_STYLE_PROP_LAYOUT_REFR;
..\LVGL\src\extra\layouts\grid\lv_grid.c(554): warning:  #188-D: enumerated type mixed with another type
      lv_grid_align_t col_align = get_cell_col_align(item);
..\LVGL\src\extra\layouts\grid\lv_grid.c(555): warning:  #188-D: enumerated type mixed with another type
      lv_grid_align_t row_align = get_cell_row_align(item);
..\LVGL\src\extra\layouts\grid\lv_grid.c: 12 warnings, 0 errors
compiling lv_font_fmt_txt.c...
..\LVGL\src\font\lv_font_fmt_txt.c(137): warning:  #111-D: statement is unreachable
      return NULL;
..\LVGL\src\font\lv_font_fmt_txt.c: 1 warning, 0 errors

..\LVGL\src\extra\widgets\span\lv_span.c(61): warning:  #1295-D: Deprecated declaration lv_get_snippet_cnt - give arg types
  static uint16_t lv_get_snippet_cnt();
..\LVGL\src\extra\widgets\span\lv_span.c(821): warning:  #546-D: transfer of control bypasses initialization of:
            variable "ellipsis_valid"  (declared at line 825)
              goto Next_line_init;
              ^
..\LVGL\src\extra\widgets\span\lv_span.c: 2 warnings, 0 errors

compiling lv_bar.c...
..\LVGL\src\widgets\lv_bar.c(133): warning:  #188-D: enumerated type mixed with another type
          lv_bar_set_value(obj, bar->cur_value, 
alse);
..\LVGL\src\widgets\lv_bar.c(137): warning:  #188-D: enumerated type mixed with another type
          lv_bar_set_value(obj, bar->cur_value, 
alse);
..\LVGL\src\widgets\lv_bar.c: 2 warnings, 0 errors

compiling lv_roller.c...
..\LVGL\src\widgets\lv_roller.c(334): warning:  #188-D: enumerated type mixed with another type
          refr_position(obj, 
alse);
..\LVGL\src\widgets\lv_roller.c(337): warning:  #188-D: enumerated type mixed with another type
          refr_position(obj, 
alse);
..\LVGL\src\widgets\lv_roller.c(367): warning:  #188-D: enumerated type mixed with another type
                      refr_position(obj, 
rue);
..\LVGL\src\widgets\lv_roller.c(384): warning:  #188-D: enumerated type mixed with another type
              refr_position(obj, 
rue);
..\LVGL\src\widgets\lv_roller.c(392): warning:  #188-D: enumerated type mixed with another type
                  lv_roller_set_selected(obj, roller->sel_opt_id + 1, 
rue);
..\LVGL\src\widgets\lv_roller.c(400): warning:  #188-D: enumerated type mixed with another type
                  lv_roller_set_selected(obj, roller->sel_opt_id - 1, 
rue);
..\LVGL\src\widgets\lv_roller.c: 6 warnings, 0 errors

compiling lv_style.c...
..\LVGL\src\misc\lv_style.c(75): warning:  #188-D: enumerated type mixed with another type
      return act_id;
..\LVGL\src\misc\lv_style.c: 1 warning, 0 errors
compiling lv_mem.c...
..\LVGL\src\misc\lv_mem.c(302): warning:  #111-D: statement is unreachable
      return NULL;
..\LVGL\src\misc\lv_mem.c: 1 warning, 0 errors

compiling lv_tlsf.c...
..\LVGL\src\misc\lv_tlsf.c(928): warning:  #68-D: integer conversion resulted in a change of sign
  		offset_to_block(pool, -(int)block_header_overhead);
..\LVGL\src\misc\lv_tlsf.c(1034): warning:  #68-D: integer conversion resulted in a change of sign
  	block = offset_to_block(mem, -(tlsfptr_t)block_header_overhead);
..\LVGL\src\misc\lv_tlsf.c(1052): warning:  #68-D: integer conversion resulted in a change of sign
  	block_header_t* block = offset_to_block(pool, -(int)block_header_overhead);
..\LVGL\src\misc\lv_tlsf.c: 3 warnings, 0 errors
compiling lv_hal_disp.c...
..\LVGL\src\hal\lv_hal_disp.c(389): warning:  #188-D: enumerated type mixed with another type
      return disp->driver->rotated;
..\LVGL\src\hal\lv_hal_disp.c: 1 warning, 0 errors

ive downloaded this version from github today.

Me too. How to solve it

I think you can disable warning #188-D; as far as I can tell, this is a false positive.

The remaining warnings look minor but valid.