You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/07/30 14:13:43 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #6725: include: Fixed null struct may caused build issue.

xiaoxiang781216 commented on PR #6725:
URL: https://github.com/apache/incubator-nuttx/pull/6725#issuecomment-1200165063

   > Just a note, there is no need to reproduce this. Empty struct/unions are in fact undefined behaviour according to C standard. So one way or another this should be fixed.
   > 
   > > At least one type specifier shall be given in the declaration specifiers in each declarationand in the specifier-qualifier list in each struct declaration and type name.
   
   @mlyszczek could you give a link in spec which state that the empty struct/union is invalid?


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