xiaoxiang781216 edited a comment 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)) ``` > It's a chicken-egg problem. We meet similar with OpenSBI integration. Really do not know what is the best solution. Yes, but this simple change could fix the problem we meet. -- 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