https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117432
--- Comment #19 from nightstrike <nightstrike at gmail dot com> --- (In reply to Sam James from comment #17) > (In reply to nightstrike from comment #16) > > I think you've either made an error and tested with the wrong GCC, or it > needs its own bug. In C23, which is the default on trunk for some time, > va_start can have one argument. Opened PR119658 (In reply to Andrew Pinski from comment #18) > I am suspect this is a bug in mingw's stdarg.h which does NOT support C23 > va_start. IIRC there is a bug about mingw not using GCC's stdarg.h like it > should be but I can't find that bug report. You are exactly right.