April 26, 2023 [Issue 23846] std.math can't compile under macos rosetta | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23846 --- Comment #11 from Caleb Xu <calebcenter@live.com> --- (In reply to kinke from comment #9) > [You'd need to reset `errno` before each call for a proper test.] Thanks for pointing this out, I tried once more with resetting errno to 0 after each set of print statements and the errno is still set to 34 each time. -- |
April 27, 2023 [Issue 23846] std.math can't compile under macos rosetta | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23846 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #12 from Dlang Bot <dlang-bot@dlang.rocks> --- @maxhaton created dlang/dmd pull request #15139 "Fix Issue 23846 - Respect the C standard when it comes to string to f…" fixing this issue: - Fix Issue 23846 - Respect the C standard when it comes to string to float ERRNO and return value https://github.com/dlang/dmd/pull/15139 -- |
April 28, 2023 [Issue 23846] std.math can't compile under macos rosetta | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23846 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #13 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #15139 "Fix Issue 23846 - Respect the C standard when it comes to string to f…" was merged into master: - 5266db2696f854adb36687e984096228946a76a6 by Max Haughton: Fix Issue 23846 - Respect the C standard when it comes to string to float ERRNO and return value https://github.com/dlang/dmd/pull/15139 -- |
May 09, 2023 [Issue 23846] std.math can't compile under macos rosetta | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23846 Scot <thinkunix@zoho.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|pull | CC| |thinkunix@zoho.com --- Comment #14 from Scot <thinkunix@zoho.com> --- I wanted to comment that I saw this same issue when trying to compile dmd-2.102.2 on an older Linux x86_64 system. I originally posted on the dlang forum here: https://forum.dlang.org/post/mailman.9077.1678347256.31357.digitalmars-d-learn@puremagic.com My post received no responses. I guess people don't compile dmd themselves. dmd-2.102.2 through anything before dmd-2.104.0-beta.1 would not compile phobos, ending with these errors: std/math/exponential.d(3782): Error: number `0x0.8p-126f` is not representable as a `float` std/math/exponential.d(3784): Error: number `0x0.555556p-126f` is not representable as a `float` std/math/exponential.d(3795): Error: number `0x0.8p-1022` is not representable as a `double` std/math/exponential.d(3797): Error: number `0x0.5555555555555p-1022` is not representable as a `double` I just tested dmd-2.104.0-beta.1 and it now builds successfully on my older system, using and installed dmd-2.102.1 to do the build. Thanks for the fix! -- |
Copyright © 1999-2021 by the D Language Foundation