https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71107
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Do you have a portable example that doesn't rely on the non-standard wmain(int, wchar_t) main function? I can't understand that rubbish.