The issue is related to f42 changing the default C standard to C23.
There were a few commits in April fixing Base for that, but it seems the example code did not get the necessary updates.
I'm sure that a Pull Request would be highly appreciated... ;-)
Quick workaround:
Include -std=c99 in USR_CFLAGS in the Base configuration.
Cheers,
~Ralph