https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100731
--- Comment #2 from Harald van Dijk <harald at gigawatt dot nl> --- There are more missing or wrong includes here: looking at the code, it's also using functions from <stdio.h> without including that, but that one gets implicitly included for me even on this old G++ so happens to not cause an error. It's also using strrchr from <string.h> while only including <cstring> and not qualifying as std::strrchr, which will work on all GCC versions but is not correct.