yamt opened a new pull request #2222:
URL: https://github.com/apache/incubator-nuttx/pull/2222


   ## Summary
   The main motivaion is to allow to use -Wformat compiler warnings.
   Otherwise, it complains on long vs long long differences for intmax_t.
   
   Note: The compiler only knows the printf format and the host OS types.
   It doesn't know NuttX types.
   
   Note: On both of 64-bit macOS and Ubuntu x86_64, the host intmax_t
   is "long int" while NuttX's intmax_t without this change is
   "signed long long". While they are both 64-bit integers, clang -Wformat
   complains on the difference.
   
   ## Impact
   sim
   
   ## Testing
   tested with local app on sim/macOS


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

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


Reply via email to