Closed bbergeron0 closed 1 year ago
I suppose it just wants a 0 initialiser?
diff --git a/hb.c b/hb.c
index dbd65c7..db845e7 100644
--- a/hb.c
+++ b/hb.c
@@ -27,7 +27,7 @@ static HbFontMatch *hbfontcache = NULL;
* e. g.
* FEATURE('c', 'a', 'l', 't'), FEATURE('d', 'l', 'i', 'g')
*/
-hb_feature_t features[] = { };
+hb_feature_t features[] = { 0 };
void
hbunloadfonts()
Nice, that does it. Have a nice day.
I suppose it just wants a 0 initialiser?
diff --git a/hb.c b/hb.c index dbd65c7..db845e7 100644 --- a/hb.c +++ b/hb.c @@ -27,7 +27,7 @@ static HbFontMatch *hbfontcache = NULL; * e. g. * FEATURE('c', 'a', 'l', 't'), FEATURE('d', 'l', 'i', 'g') */ -hb_feature_t features[] = { }; +hb_feature_t features[] = { 0 }; void hbunloadfonts()
It's works, thank you very much!!
On version
e6a2fb489c192e2cd9439691014f48779d4966ad
, withLIGATURES_PATCH 1
:Setting
CC
togcc
fixes the issue, but adding-Wpedantic
toCFLAGS
will cause the same error.