Any opinion on this change? It is causing us build fails on some
platforms (including Raspberry PI 4).
I would think this is a compiler false positive. If there was indeed an
issue, then just casting to void as an intermediate step just hides it
without fixing anything.
I'd attempt to figure out if the compiler is at fault, and if it is,
then #pragma around this.