pkarashchenko commented on pull request #5767: URL: https://github.com/apache/incubator-nuttx/pull/5767#issuecomment-1070837613
``` Error: machine/arch_atomic.c:37:8: error: conflicting types for built-in function '__atomic_store_1'; expected 'void(volatile void *, unsigned char, int)' [-Werror=builtin-declaration-mismatch] 37 | void __atomic_store_ ## n (type *ptr, \ | ^~~~~~~~~~~~~~~ machine/arch_atomic.c:185:1: note: in expansion of macro 'STORE' 185 | STORE(1, uint8_t) | ^~~~~ ``` Seems like GCC is expecting `void __atomic_store_n (void *ptr, type val, int memorder)` despite documentation states `void __atomic_store_n (type *ptr, type val, int memorder);`. -- 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