xiaoxiang781216 commented on pull request #5647:
URL: https://github.com/apache/incubator-nuttx/pull/5647#issuecomment-1055206321


   > But `assert.h` includes `#include <nuttx/compiler.h>` and `UNUSED` is 
defined in `compiler.h` so the redefinition problem will still exists. I mean 
the problem will not be solved globally.
   
   the third party code write like this:
   ```
   #undef UNUSED
   #define UNUSED __attribute__((unused))
   ```


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