std.conv.ConvException from double to uint64_t, but only locally in a large project
drathier
forum.dlang.org at fi.fo
Tue Aug 4 17:40:33 UTC 2020
On Tuesday, 4 August 2020 at 17:37:56 UTC, drathier wrote:
>> ```
>> std.conv.ConvException@/usr/local/opt/dmd/include/dlang/dmd/std/conv.d(2054): Value (1596) does not match any member value of enum '__c_ulonglong'
>> ```
> well,
> ```
> std.conv.ConvException@/usr/local/opt/dmd/include/dlang/dmd/std/conv.d(2054): Value (42) does not match any member value of enum '__c_ulonglong'
> ```
> but the specific value doesn't matter
full stack trace:
```
std.conv.ConvException@/usr/local/opt/dmd/include/dlang/dmd/std/conv.d(2054): Value (42) does not match any member value of enum '__c_ulonglong'
----------------
source/app.d:864 @safe core.stdc.config.__c_ulonglong
std.conv.toImpl!(core.stdc.config.__c_ulonglong,
double).toImpl(double) [0x10fa540f8]
source/app.d:864 @safe core.stdc.config.__c_ulonglong
std.conv.to!(core.stdc.config.__c_ulonglong).to!(double).to(double) [0x10fa54072]
source/app.d:262 int app.processFromOffset(std.socket.Socket,
app.KafkerMode, app.RuntimeState, core.stdc.config.__c_ulonglong,
core.stdc.config.__c_ulonglong) [0x10f9d06b5]
source/app.d:175 _Dmain [0x10f9cfcae]
```
More information about the Digitalmars-d-learn
mailing list