incompatible redefinition of 'size_t' #21477
Labels
Bug
This tag is applied to issues which reports bugs.
OS: Windows
Bugs/feature requests, that are specific to Windows OS.
Status: Confirmed
This bug has been confirmed to be valid by a contributor.
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: