A while back I was trying to compile gtkmm (the official C++ wrapper for GTK) on C++20 mode, but it wouldn't compile because they had been using "module" as an identifier, which turned into a keyword in C++20.
So there you go. A real world example of breaking a major library in a way that's potentially impossible to fix without breaking its API, depending on where that identifier was used.
Because a huge project like gtk failed to build because of a single keyword? I've had bigger compatibility issues when changing compilers. More saliently: how does that disprove any of what I said? Did the const operator() overload of std::function disappear? Did it change semantics?
1
u/[deleted] Sep 19 '22
A while back I was trying to compile gtkmm (the official C++ wrapper for GTK) on C++20 mode, but it wouldn't compile because they had been using "module" as an identifier, which turned into a keyword in C++20.
So there you go. A real world example of breaking a major library in a way that's potentially impossible to fix without breaking its API, depending on where that identifier was used.