3 ms·
Yes, this is all true but Sutter's comment is that the specific platforms that this specific implementation of the GSL targets results in the correct output. Th
by Maxatar 2mo ago
Yes, this is all true but Sutter's comment is that the specific platforms that this specific implementation of the GSL targets results in the correct output. The platforms officially supported are:
GCC 12, 13, 14
XCode 14.3.1, 15.4
Clang 16, 17, 18
Visual Studio with MSVC VS2019, VS2022
Visual Studio with LLVM VS2019, VS2022
- afdbcreid 2mo agoThen this is, unfortunately, entirely wrong. Here's an example causing a segfault when there is a bound checks that the compiler omits: https://godbolt.org/z/8f6rv4dja https://godbolt.org/z/8f6rv4dja The example is adapted from a Rust example shown by @RalfJung in https://lobste.rs/s/ba2yfy/c_float_int_conversion_can_be_undefined https://lobste.rs/s/ba2yfy/c_float_int_conversion_can_be_und....