hujun260 opened a new pull request, #2083:
URL: https://github.com/apache/nuttx-apps/pull/2083

   If UV_ONCE_INIT is a struct, the following errors will occur:
   
   libuv/src/unix/nuttx.c: In function 'uv__global_get': 
/home/hujun5/downloads1/vela_sim/apps/system/libuv/libuv/include/uv/unix.h:136:22:
 error: expected expression before '{' token
     136 | #define UV_ONCE_INIT PTHREAD_ONCE_INIT
         |                      ^~~~~~~~~~~~~~~~~
   libuv/src/unix/nuttx.c:287:26: note: in expansion of macro 'UV_ONCE_INIT'
     287 |           global->once = UV_ONCE_INIT;
         |                          ^~~~~~~~~~~~
   
/home/hujun5/downloads1/vela_sim/apps/system/libuv/libuv/include/uv/unix.h:136:22:
 error: expected expression before '{' token
     136 | #define UV_ONCE_INIT PTHREAD_ONCE_INIT
         |                      ^~~~~~~~~~~~~~~~~
   libuv/src/unix/nuttx.c:288:50: note: in expansion of macro 'UV_ONCE_INIT'
     288 |           global->uv__signal_global_init_guard = UV_ONCE_INIT;
   
   ## Summary
   
   ## Impact
   
   ## Testing
   
   


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