Le 29/09/2021 à 21:44, Sveinar Søpler a écrit :
Well, debuild seem to put the same CFLAGS/LDFLAGS to gcc-mingw-w64 as it does to gcc, and i guess one of the "debian hardening" options puts some flags to mingw's LD that does not fly. This does not happen when you build "manually", so it is quite likely just a build config thing.
Sorry, for this noise, as this is most certainly unrelated to the original post. I will do some investigations towards debian build settings, but i do not think it has much to do with the gcc-11 concerns you have i am afraid, although it could be worth investigating "build system flags vs. manual compile" (atleast i find it interesting).
Again, i am sorry for the noise.
yes, looks more something like that
after some more investigations, it's quite clear that most of the warnings comes with gcc 11.1 and even more with gcc 11.2.
so it should be replaced the title (and content) of this thread gcc11 by gcc11.2
A+