cowsql / raft

Asynchronous C implementation of the Raft consensus protocol
https://raft.readthedocs.io
Other
53 stars 6 forks source link

C++ compiler reject sizeof of anonymous structs #186

Closed buschulte closed 5 months ago

buschulte commented 5 months ago

when trying to include the raft.h with extern "C" it's not working because the do not allow sizeof checks with non-named structs. used for compatibility checks.

freeekanayaka commented 5 months ago

Looks good to me, thanks!