3 ms·
IDK about "industry" but I can't think of any prominent C or C++ open-source codebase that requires a specific version of gcc or clang to compile.
by School-Cotton 2y ago
IDK about "industry" but I can't think of any prominent C or C++ open-source codebase that requires a specific version of gcc or clang to compile.
- dralley 2y agoThe Linux kernel was that way for a while, years ago.
- dezgeg 2y agoTry following your favourite distro's bug tracker during GCC upgrade. Practically every update breaks some packages, sometimes less, sometimes more (esp. when GCC changes their default flags). Here's one example of workarounds in ~100 packages that broke when upgrading to GCC 10: https://github.com/search?q=repo%3ANixOS%2Fnixpkgs%20fcommon&type=code https://github.com/search?q=repo%3ANixOS%2Fnixpkgs%20fcommon...