This is why so many programs use extensions
This is why so many programs use extensions
Posted Sep 27, 2024 2:18 UTC (Fri) by DemiMarie (subscriber, #164188)In reply to: C is not as simple as it seems by NYKevin
Parent article: Linus and Dirk on succession, Rust, and more
In the Linux kernel, many of those undefined behaviors are actually well-defined, thanks to -fno-strict-aliasing, -fno-strict-overflow, -fno-delete-null-pointer-checks, and possibly some other compiler flags. Linux does not even try to conform to the C standard’s requirements for pointer arithmetic, and I agree with that decision.
