While we want to catch any compiler warnings during development, a release build should never fail due to e.g. stricter static checks introduced by new compiler versions. Therefore make -Werror conditional on AX_IS_RELEASE, like e.g. tpm2-tss does.
tpm2-tss-engine has no issues with the recently released GCC 11 as far as I am aware, but it never hurts to be proactive.
While we want to catch any compiler warnings during development, a release build should never fail due to e.g. stricter static checks introduced by new compiler versions. Therefore make
-Werror
conditional onAX_IS_RELEASE
, like e.g. tpm2-tss does.tpm2-tss-engine has no issues with the recently released GCC 11 as far as I am aware, but it never hurts to be proactive.