You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the new-ac6 branch I'm working on a migration guide to Ac6 toolchain. The original GCC project (in master) is already converted to C++. After selecting Ac6 and adding some basic settings it seems Ac6 tries to compile all c files as cpp and produces all sort of Cpp related errors. E.g.
../src/lvgl/src/widgets/scale/lv_scale.c:1473:26: error: cannot initialize a variable of type 'lv_point_precise_t *' with an rvalue of type 'void *'
1473 | lv_point_precise_t * needle_line_points = lv_event_get_user_data(e);
|
I believe -xc++ selects the Cpp mode, however if I'm trying to overwrite it with -xc it doesn't work as the custom flags are added before the flags above.
In the
new-ac6
branch I'm working on a migration guide to Ac6 toolchain. The original GCC project (inmaster
) is already converted to C++. After selecting Ac6 and adding some basic settings it seems Ac6 tries to compile allc
files ascpp
and produces all sort of Cpp related errors. E.g.This is how a compile command looks like:
I believe
-xc++
selects the Cpp mode, however if I'm trying to overwrite it with-xc
it doesn't work as the custom flags are added before the flags above.@jeremy-baker do you have any ideas for it?
The text was updated successfully, but these errors were encountered: