Hello,
The ARM GNU toolchain does not like at all "extended characters" (like '²' or '℃') that are completely OK with other GNU toolcahins (for ARM or other architectures).
The problem lies at the C preprocessor 'cpp'...
How can that be?!
Thank you.
Well, when testing on Ubuntu 22 with a custom built gcc version 13.1.0, I got the same error.
It seems that between version 11, where ² is accepted, and version 13 where these characters are rejected, something mischievous has happened...