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

   ### Description / Steps to reproduce the issue
   
   Perhaps due to me upgrading my arm gcc cross compiler recently, I'm seeing a 
compiler warning because of the definition of __CONCAT - in my case this is in 
_sama5d2x_memorymap.h but it occurs in 12 other files too
   
   The warning is:
   ```
   
arm-gnu-toolchain-13.2.1-arm-none-eabi/arm-none-eabi/include/sys/cdefs.h:166: 
note: this is the location of the previous definition
     166 | #define __CONCAT(x,y)   __CONCAT1(x,y)
   ```
   I can fix this as follows but have no idea if a better, more global fix is 
needed and, if so, where/how?
   ```
   #ifndef __CONCAT
   #  define __CONCAT(a,b) a ## b
   #endif
   ```
   
   ### On which OS does this issue occur?
   
   [OS: Linux]
   
   ### What is the version of your OS?
   
   Ubuntu 22.04.5 LTS
   
   ### NuttX Version
   
   Master
   
   ### Issue Architecture
   
   [Arch: arm]
   
   ### Issue Area
   
   [Area: Board support]
   
   ### Verification
   
   - [X] I have verified before submitting the report.


-- 
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