Closed dthain closed 6 years ago
Should point out that the build-cross-compiler script is set to use gcc 8.2, though Makefile.config doesn't default to using the cross-compiler. This code compiles fine on the 8.2 cross-compiler, but should we make the cross-compiler the default for consistency?
Well, I agree that we should generally be using the cross compiler. But it is also good hygiene to fix up bits of code that are not strictly conformant. And, we should be explicit about the code standard that we intend to support.
I get a bunch of fiddly warnings when compiling on gcc 4.8.5. I propose we set the code standard to GNU C99. (And also fix up some nested initializer warnings.) Does this work for everyone else?