pussuw opened a new pull request, #9235:
URL: https://github.com/apache/nuttx/pull/9235

   ## Summary
   utils/net_cmsg.c: In function 'cmsg_append':
   utils/net_cmsg.c:82:23: error: pointer of type 'void *' used in arithmetic 
[-Werror=pointer-arith]
      82 |   msg->msg_control    += cmsgspace;
         |                       ^~
   cc1: all warnings being treated as errors
   
   Using void pointers in arithmetic operations is a GCC extension, it is not 
supported by the standard. Because what is the size of a void ?
   ## Impact
   Fixes build error with -Werror -Wall -Wextra
   ## Testing
   CI passes
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to