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
v -path "/Users/mike/gui/src|@vlib|@vmodules" run get-started.v
(substitute the /Users/mike/gui/src with cloned source
Expected Behavior
Builds program
Current Behavior
~~~~~~~~~~~~~~~~~~~
cc: /tmp/v_501/get-started.01JT8RAFQ1DA0FANRBEKKMJQ4S.tmp.c:20788:482: warning: implicit conversion from enumeration type 'sokol__gfx__LoadAction' to different enumeration type 'sg_load_action' (aka 'enum sg_load_action') [-Wenum-conversion]
...
cc: 26 warnings and 1 error generated.
(note: the original output was 103 lines long; it was truncated to its first 12 lines + the last line)
================================================================
(You can pass `-cg`, or `-show-c-output` as well, to print all the C error messages).
builder error:
==================
Possible Solution
Line 38 in /src/gui/view_button.v is where the problem originates.
Changing from fn(...) to ?fn(...) revealed the issue. (also lines 95, 103).
Describe the bug
Building the
get-started.vprogram described below causes a C compiler build error.Reproduction Steps
examplesfolderv -path "/Users/mike/gui/src|@vlib|@vmodules" run get-started.v(substitute the
/Users/mike/gui/srcwith cloned sourceExpected Behavior
Builds program
Current Behavior
Possible Solution
Line 38 in
/src/gui/view_button.vis where the problem originates.Changing from
fn(...)to?fn(...)revealed the issue. (also lines 95, 103).Additional Information/Context
No response
V version
V 0.4.10 496c017
Environment details (OS name and version, etc.)
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.