compile error: value 100000000000
overflows u32
#20877
Labels
Bug
This tag is applied to issues which reports bugs.
Unit: Compiler
Bugs/feature requests, that are related to the V compiler in general.
Unit: Type System
Bugs/feature requests, that are related to the V types system.
Describe the bug
0.4.4 does not compile.
Reproduction Steps
$ asdf install v 0.4.4
Expected Behavior
(compile and install with no errors)
Current Behavior
vlib/strconv/f32_str.c.v:35:2: error: value
10000000000
overflowsu32
33 | u32(100000000),
34 | u32(1000000000),
35 | u32(10000000000),
| ~~~~~~~~~~~~~~~~
36 | u32(100000000000),
37 | ]!
vlib/strconv/f32_str.c.v:36:2: error: value
100000000000
overflowsu32
34 | u32(1000000000),
35 | u32(10000000000),
36 | u32(100000000000),
| ~~~~~~~~~~~~~~~~~
37 | ]!
38 |
make: *** [GNUmakefile:114: all] Error 1
Possible Solution
No response
Additional Information/Context
No response
V version
0.4.4
Environment details (OS name and version, etc.)
linux ubuntu 22.04
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: