Got error while building project with included lvgl
library with Visual Studio 2019 Visual C++ :
use of designated initializers requires at least '/std:c++latest'
One of examples compiler complains about:
static inline void lv_style_set_radius(lv_style_t * style, lv_coord_t value)
{
lv_style_value_t v = {
.num = (int32_t)value
};
lv_style_set_prop(style, LV_STYLE_RADIUS, v);
}
How to enable such feature in Visual C++?