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
And want to compile it on windows 11 with: v main.v -freestanding
Then i get the following error:
==================
C:/Users/user/AppData/Local/Temp/v_0/main.01HXD2AJXNBAZTECS0SAW0QYZD.tmp.c:450: error: incompatible redefinition of 'size_t'
...
==================
(Use `v -cg` to print the entire error message)
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
I have this code:
And want to compile it on windows 11 with:
v main.v -freestanding
Then i get the following error:
Reproduction Steps
Try to comile the following code:
as follows:
v main.v -freestanding
Expected Behavior
Should produce a binary
Current Behavior
Errors out
Possible Solution
No response
Additional Information/Context
When i use the flag
-prod
together with-freestanding
i get a different error:V version
V 0.4.5 d6d0f9b
Environment details (OS name and version, etc.)
Betriebsystemname Microsoft Windows 11 Enterprise
Version 10.0.22621 Build 22621
Systemmodell Surface Pro 10 for Business
Systemtyp x64-basierter PC
Prozessor Intel(R) Core(TM) Ultra 7 165U, 2100 MHz, 12 Kern(e), 14 logische(r) Prozessor(en)
Installierter physischer Speicher (RAM) 32,0 GB
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.
The text was updated successfully, but these errors were encountered: