acassis commented on PR #15047:
URL: https://github.com/apache/nuttx/pull/15047#issuecomment-2517620696

   There are some issues on esp32c3:
   
   ```
   Configuration/Tool: esp32c3-devkit/ble
   2024-12-04 14:17:55
   
------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Building NuttX...
   In file included from bluetooth/bt_conn.c:51:
   bluetooth/bt_conn.c: In function 'bt_conn_addref':
   Error: bluetooth/bt_conn.c:765:10: error: format '%u' expects argument of 
type 'unsigned int', but argument 4 has type 'bt_atomic_t' {aka 'long int'} 
[-Werror=format=]
     765 |   wlinfo("handle %u ref %u\n", conn->handle, 
bt_atomic_get(&conn->ref));
         |          ^~~~~~~~~~~~~~~~~~~~
   bluetooth/bt_conn.c:765:26: note: format string is defined here
     765 |   wlinfo("handle %u ref %u\n", conn->handle, 
bt_atomic_get(&conn->ref));
         |                         ~^
         |                          |
         |                          unsigned int
         |                         %lu
   bluetooth/bt_conn.c: In function 'bt_conn_release':
   Error: bluetooth/bt_conn.c:790:10: error: format '%u' expects argument of 
type 'unsigned int', but argument 4 has type 'bt_atomic_t' {aka 'long int'} 
[-Werror=format=]
     790 |   wlinfo("handle %u ref %u\n", conn->handle, 
bt_atomic_get(&conn->ref));
         |          ^~~~~~~~~~~~~~~~~~~~
   bluetooth/bt_conn.c:790:26: note: format string is defined here
     790 |   wlinfo("handle %u ref %u\n", conn->handle, 
bt_atomic_get(&conn->ref));
         |                         ~^
         |                          |
         |                          unsigned int
         |                         %lu
   cc1: all warnings being treated as errors
   make[1]: *** [Makefile:46: bt_conn.o] Error 1
   make[1]: Target 'libwireless.a' not remade because of errors.
   ```


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