On 2024-05-01 15:32, Bruno Haible wrote:
I tried another workaround, consisting of adding #undef __STDC_VERSION_STDDEF_H__ at the appropriate place, but then the Fedora 40 gcc gives a warning about this #undef. Since neither the warning about the redefinition nor the warning about the #undef can be silenced via #pragma GCC diagnostic ignored "-W..." this approach did not work.
Yes, that was the workaround I tried first, and I rejected it for the same reason you did.
What a mess, huh?