Re: Fix multiple compiler warnings when building with gcc-12
On 12/26/22 01:54, John Paul Adrian Glaubitz wrote:
> This patch series fixes a number of warnings when building powerpc-utils
> with gcc-12 or newer. Since the project builds with "-Werror" by default,
> these warnings will cause the build to fail.
>
> With these patches applied, all warnings are gone when building on ppc64el,
> there are two additional warnings left regarding possibly truncated strings
> when building on big-endian PowerPC targets for which I will send a separate
> patch set.
I ran our CI with the latest Ubuntu LTS runner which has the gcc-11 toolchain
and I see the two truncated string warnings with that toolchain.
-Tyrel
>
> Cheers,
> Adrian
>
> --
> .''`. John Paul Adrian Glaubitz
> : :' : Debian Developer
> `. `' Physicist
> `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
>
>
Reply to: