You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "acassis (via GitHub)" <gi...@apache.org> on 2023/08/23 13:46:15 UTC

[GitHub] [nuttx] acassis commented on pull request #10360: Fix bugs related to software flow control in file stm32_hciuart.c.

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

   @xiaoxiang781216 any idea what is causing this error:
   ```
   libuv/src/uv-common.c: In function 'uv_walk':
   Error: libuv/src/queue.h:68:19: error: storing the address of local variable 'queue' in '((void * (**)[2])MEM[(void *[2] * *)loop_13(D) + 8B])[1]' [-Werror=dangling-pointer=]
      68 |     QUEUE_PREV(q) = (n);                                                      \
         |                   ^
   libuv/src/queue.h:78:7: note: in expansion of macro 'QUEUE_SPLIT'
      78 |       QUEUE_SPLIT(h, q, n);                                                   \
         |       ^~~~~~~~~~~
   libuv/src/uv-common.c:492:3: note: in expansion of macro 'QUEUE_MOVE'
     492 |   QUEUE_MOVE(&loop->handle_queue, &queue);
         |   ^~~~~~~~~~
   libuv/src/uv-common.c:488:9: note: 'queue' declared here
     488 |   QUEUE queue;
         |         ^~~~~
   libuv/src/queue.h:40:27: note: '((void * (**)[2])loop)[2]' declared here
      40 |   ((const QUEUE *) (q) == (const QUEUE *) QUEUE_NEXT(q))
         |                           ^
   libuv/src/queue.h:74:9: note: in expansion of macro 'QUEUE_EMPTY'
      74 |     if (QUEUE_EMPTY(h))                                                       \
         |         ^~~~~~~~~~~
   libuv/src/uv-common.c:492:3: note: in expansion of macro 'QUEUE_MOVE'
     492 |   QUEUE_MOVE(&loop->handle_queue, &queue);
         |   ^~~~~~~~~~
   cc1: all warnings being treated as errors
   make[3]: *** [/github/workspace/sources/apps/Application.mk:171: uv-common.c.github.workspace.sources.apps.system.libuv.o] Error 1
   In file included from libuv/src/uv-common.h:42,
                    from libuv/src/unix/internal.h:25,
                    from libuv/src/unix/stream.c:23:
   libuv/src/unix/stream.c: In function 'uv__write_callbacks':
   Error: libuv/src/queue.h:68:19: error: storing the address of local variable 'pq' in '((void * (**)[2])MEM[(void *[2] * *)stream_24(D) + 108B])[1]' [-Werror=dangling-pointer=]
   ```


-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org