Bruno Haible <br...@clisp.org> writes: > I did: >> Fix compilation errors with clang that masquerades as gcc 13. > > And here is a patch that fixes the clang warnings that appear to be caused > by this version of __GNUC__. > > Previously I did not like the __GNUC_PREREQ (glibc) or _GL_GNUC_PREREQ > (gnulib) > macro, because they seemed like unnecessary macrology. But now that > _GL_GNUC_PREREQ filters out the lying clang binaries, this macro helps > keeping the code small.
Thanks for working on this. I am a bit surprised that OpenMandriva didn't ever report problems. I wonder if they just fall back to building with GCC if something fails to compile (or if they use the argument Paul mentioned to pretend to be an older version).