On Mon, 06 Jul 2026, LIU Hao wrote: > > +#define MINGW_ABI_VERSION 2 > > +#endif > > +#endif > > + > > ... ... Starting from GCC 17, a new MinGW ABI will be used. And if > > some code should be compatible > > with previous ABI version, MINGW_ABI_VERSION 1 should be defined. > > (I just realized that this didn't include a hunk for `U?INT_FAST16_M(IN|AX)`.) > > I'm pretty sure this macro is likely to go unnoticed, so it's not very > different from not having a macro. > > What I'm particularly asking is whether this should be changed, or be kept > permanently as a divergence.
It seems it might be changed for MinGW, however the previous ABI should be supported for compatibility. Which might be done by introducing MINGW_ABI_VERSION. If GCC 17 or higher should support the previous ABI, MINGW_ABI_VERSION should be defined as 1. Regards, Evgeny
