tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Request for review: librefuse overhaul for supporting more filesystems



13.01.2022 04:18:36 Joerg Sonnenberger <joerg%bec.de@localhost>:
>
> 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


Home | Main Index | Thread Index | Old Index