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
================== C compilation error (from tcc): ==============
cc: C:/Users/***/AppData/Local/Temp/v_0/test.01JQ7ADWEF0G0N8ZR7H1CDQS5S.tmp.c:3786: warning: implicit declaration of function 'tcc_backtrace'
cc: C:/Users/***/AppData/Local/Temp/v_0/test.01JQ7ADWEF0G0N8ZR7H1CDQS5S.tmp.c:5806: error: declaration of an array of incomplete type elements
...
cc: C:/Users/***/AppData/Local/Temp/v_0/test.01JQ7ADWEF0G0N8ZR7H1CDQS5S.tmp.c:5806: error: declaration of an array of incomplete type elements
(note: the original output was 3 lines long; it was truncated to its first 2 lines + the last line)
=================================================================
(You can pass `-cg`, or `-show-c-output` as well, to print all the C error messages).
builder error:
==================
C error found. It should never happen, when compiling pure V code.
This is a V compiler bug, please report it using `v bug file.v`,
or goto https://github.com/vlang/v/issues/new/choose .
You can also use #help on Discord: https://discord.gg/vlang .
Describe the bug
void[]casts are incorrectly generated in cgenReproduction Steps
Expected Behavior
bCurrent Behavior
Possible Solution
No response
Additional Information/Context
This C code is generated:
There is a
void[]cast, which is meaninglessAlso, this example triggers #24047
V version
V 0.4.10 e968139
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.