diff --git a/include/crucible/ntoa.h b/include/crucible/ntoa.h index 1e86635..de614f4 100644 --- a/include/crucible/ntoa.h +++ b/include/crucible/ntoa.h @@ -22,7 +22,7 @@ namespace crucible { // Enumerations (entire value matches all bits) #define NTOA_TABLE_ENTRY_ENUM(x) { .n = (x), .mask = ~0UL, .a = (#x) } -// End of table (sorry, gcc doesn't implement this) +// End of table (sorry, C++ didn't get C99's compound literals, so we have to write out all the member names) #define NTOA_TABLE_ENTRY_END() { .n = 0, .mask = 0, .a = nullptr } #endif // CRUCIBLE_NTOA_H