Commit 97c28f7f authored by Christoph Reiter's avatar Christoph Reiter 🐍 Committed by Christoph Reiter

ci: fix warnings and enable --werror for the mingw build

Fix various warnings regarding unused variables, duplicated
branches etc by adjusting the ifdeffery and some missing casts.

gnulib triggers -Wduplicated-branches in one of the copied files,
disable as that just makes updating the code harder.

The warning indicating missing features are made none fatal through
pragmas. They still show but don't abort the build.
parent 995f75cd
Pipeline #9720 passed with stage
in 7 minutes and 8 seconds