model-writtenrun 9275 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier reported two MinGW warnings and attached a fix for pg_basebackup's unused filemode variable, guarding its declaration and assignment because Windows ignores file permissions #1.
- Andrew Dunstan explained how MinGW headers supplied the dllimport attribute behind the separate RegisterWaitForSingleObject warning and also gave a +1 in his response #2.
- After asking whether warning fixes warranted backpatching #3, Michael applied the attached patch unchanged as 90317ab7e6 and confirmed that it went only onto HEAD because the issue was longstanding #4.
- Peter Eisentraut later proposed removing mingwcompat.c entirely because its compatibility workarounds appeared to have been obsolete for more than five years #5; Michael supported dropping those old MinGW versions on HEAD #6, and Magnus Hagander agreed #7.
- Peter implemented that discussion directly in a25221f53c, deleting mingwcompat.c and its build entry without posting another patchset, then announced the commit #8.
- Michael acknowledged the removal #9, leaving both originally reported warnings addressed on the development branch with no further work requested.