mogenson opened a new issue, #8208:
URL: https://github.com/apache/nuttx/issues/8208

   I updated my ARM GCC toolchain from 10.3 to 11.3 and noticed a build failure.
   
   ```
   misc/lib_impure.c:48:8: error: token "@" is not valid in preprocessor 
expressions
      48 | #  if (__NEWLIB__ < 4 || __NEWLIB__ == 4 && __NEWLIB_MINOR__ < 2)
         |        ^~~~~~~~~~
   make[1]: *** [Makefile:135: bin//lib_impure.o] Error 1
   make[1]: Leaving directory '/Users/mike/Code/nuttx-workspace/nuttx/libs/libc'
   make: *** [tools/LibTargets.mk:174: libs/libc/libc.a] Error 2
   ```
   
   This is with the NuttX 12.0 release. The 10.3 toolchain builds fine.
   
   New: `arm-none-eabi-gcc (Arm GNU Toolchain 11.3.Rel1) 11.3.1 20220712`
   Old: `arm-none-eabi-gcc (GNU Arm Embedded Toolchain 10.3-2021.10) 10.3.1 
20210824 (release)`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to