Closed achow101 closed 2 years ago
-Wno-array-parameter
should silence the warning which gets promoted to error via -Werror
Oddly enough, I don't see any errors when building with gcc (GCC) 11.1.0
. What version do you use @achow101?
I am also using 11.1.0
I can confirm that I have a similar problem with gcc (Gentoo 11.1.0-r2 p3) 11.1.0
.
Similar bug occurs also in legacy, see https://github.com/trezor/trezor-firmware/issues/1792.
When compiling trezor core for linux (with
make build_unix
), I get the following build errors:This appears to be due to a new warning added to gcc 11.