pkarashchenko commented on code in PR #6723:
URL: https://github.com/apache/incubator-nuttx/pull/6723#discussion_r934038522


##########
sched/mqueue/mqueue.h:
##########
@@ -65,11 +65,7 @@ struct mqueue_msg_s
   struct list_node node;   /* Link node to message */
   uint8_t type;            /* (Used to manage allocations) */
   uint8_t priority;        /* Priority of message */
-#if MQ_MAX_BYTES < 256
-  uint8_t msglen;          /* Message data length */

Review Comment:
   I see some discussion here: 
https://developercommunity.visualstudio.com/t/error-msb6006-clexe-exited-with-code-2/405001
   ```
   RESOLUTION
   
   I discovered than I had a function declared as "int func()" had no return 
statement.
   
   When I changed the declaration to "void func()", the problem went away.
   ```
   There are also some other related discussion. IMO adding padding bytes is 
unacceptable solution



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