jlaitine opened a new pull request, #16233:
URL: https://github.com/apache/nuttx/pull/16233

   
   ## Summary
   
   This fixes useless -Wpointer-sign errors with clang when doing atomic 
operations on unsigned datatypes.
   
   Possible alternatives to this:
   
   - the pointer type cast could be done in every place where unsigned atomics 
would be used
   - play with "pragma clang diagnostic ignored" with clang in every place 
where unsigned atomics would be used
   
   ## Impact
   
   No functional impact, fixes compilation on clang when passing pointers to 
unsigned data types to the atomics. Fixes CI errors on 
https://github.com/apache/nuttx/pull/16194 
   
   ## Testing
   
   Tested on qemu: rv-virt:nsh and rv-virt:nsh64, compilation also on 
mps3-an547:gcov / clang
   


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to