4 ms·
I wonder why GCC/LLVM don't set these options by default and leave it up to every single distro and upstream project to set them.
by pabs3 3y ago
I wonder why GCC/LLVM don't set these options by default and leave it up to every single distro and upstream project to set them.
- jpc0 3y agoGCC/LLVM want projects to use the latest version of their compilers and if they added all this be default it would break millions of projects compiles. Those project maintainers won't just add a million flags to make "legacy project 224" compile, they will just use the last compiler it worked with for eternity. https://olano.dev/2023-11-30-code-is-run-more-than-read/ https://olano.dev/2023-11-30-code-is-run-more-than-read/ See that article that's current trending on HN if your response is "they just just fix the errors" or something along those lines, many times there isn't any business case to spend man-hours on something that works fine and has worked fine for decades.