Index: generators/TableGenerator.m ================================================================== --- generators/TableGenerator.m +++ generators/TableGenerator.m @@ -182,11 +182,11 @@ [file writeString: COPYRIGHT @"#include \"config.h\"\n" @"\n" @"#import \"OFString.h\"\n\n" - @"static const of_unichar_t emptyPage[0x100] = {};\n\n"]; + @"static const of_unichar_t emptyPage[0x100] = { 0 };\n\n"]; /* Write uppercasePage%u */ for (i = 0; i < 0x110000; i += 0x100) { bool isEmpty = true; Index: src/OFDate.m ================================================================== --- src/OFDate.m +++ src/OFDate.m @@ -236,11 +236,11 @@ format: (OFString*)format { self = [super init]; @try { - struct tm tm = {}; + struct tm tm = { 0 }; tm.tm_isdst = -1; if (of_strptime([string UTF8String], [format UTF8String], &tm) == NULL) @@ -281,11 +281,11 @@ format: (OFString*)format { self = [super init]; @try { - struct tm tm = {}; + struct tm tm = { 0 }; tm.tm_isdst = -1; if (of_strptime([string UTF8String], [format UTF8String], &tm) == NULL) Index: src/OFMapTable.m ================================================================== --- src/OFMapTable.m +++ src/OFMapTable.m @@ -34,11 +34,11 @@ struct of_map_table_bucket { void *key, *value; uint32_t hash; }; -static struct of_map_table_bucket deleted = {}; +static struct of_map_table_bucket deleted = { 0 }; static void* defaultRetain(void *value) { return value; Index: src/OFSet_hashtable.m ================================================================== --- src/OFSet_hashtable.m +++ src/OFSet_hashtable.m @@ -58,11 +58,11 @@ .retain = retain, .release = release, .hash = hash, .equal = equal }; -static of_map_table_functions_t valueFunctions = {}; +static of_map_table_functions_t valueFunctions = { 0 }; @implementation OFSet_hashtable - init { return [self initWithCapacity: 0]; Index: src/unicode.m ================================================================== --- src/unicode.m +++ src/unicode.m @@ -16,11 +16,11 @@ #include "config.h" #import "OFString.h" -static const of_unichar_t emptyPage[0x100] = {}; +static const of_unichar_t emptyPage[0x100] = { 0 }; static const of_unichar_t uppercasePage0[0x100] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,