mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
C99's "{ 0 }" notation for filling in a struct with all zeros was not included in the C++11 standard, so gcc doesn't implement it and neither does clang. gcc does (did?) have issues with warnings on the same code in C99, complaining about uninitialized struct members when "{0}" explicitly initializes every member to a zero value. These issues don't apply in the C++ code where NTOA_TABLE_ENTRY_END is used. Signed-off-by: Zygo Blaxell <bees@furryterror.org>