xiaoxiang781216 commented on a change in pull request #4935:
URL: https://github.com/apache/incubator-nuttx/pull/4935#discussion_r763018825



##########
File path: include/nuttx/tls.h
##########
@@ -150,6 +150,7 @@ struct tls_info_s
 #endif
 
   int tl_errno;                        /* Per-thread error number */
+  uint8_t tl_data[0];

Review comment:
       unfortunately, zero length array is gnu extension, not part of any C 
standard:
   https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html




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