Challenges compiling old C++ code on modern Linux
smalldatum.blogspot.com·16h·
Flag this post

I often compile old versions of MySQL, MariaDB, Postgres and RocksDB in my search for performance regressions. Compiling is easy with Postgres as they do a great job at avoiding compilation warnings and I never encounter broken builds. Certainly the community gets the credit for this, but I suspect their task is easier because they use C. This started as a LinkedIn post.

I expect people to disagree, and I am far from a C++ expert, but here goes ...

tl;dr - if you maintain widely used header files (widely used by C++ projects) consider not removing that include that you don’t really need (like <cstdint>) because such removal is likely to break bu…

Similar Posts

Loading similar posts...