Closed Mculover666 closed 1 year ago
I think it shouldn't cause any issues if we remove -std=c99
.
Thanks!
If the gcc version is earlier, the c99 standard is not automatically used, so we need to manually specify it to ensure successful compilation.
I think we can easily fix these issues in the examples too. If you compiler finds these for you, could you send a PR to fix these?
Hi, some compilation errors occurred when I was compiling with a lower version of the gcc compiler. I added compilation parameters
-std=c99
to resolve this problem.Note,my compiler is arm-linux-gnueabihf-gcc, version is ”gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) “.