13.01.2022 04:18:36 Joerg Sonnenberger <jo...@bec.de>:
>
> Specific remark here: try to avoid empty structures. They can create a
> real hassle when interacting between C and C++ as that's explicitly
> invalid for the latter.


Not only that, in standard C they are a syntax violation as well (see C11 
6.7.2.1). GCC supports them as an extension: 
https://gcc.gnu.org/onlinedocs/gcc/Empty-Structures.html

Reply via email to