When compiling flite-2.2 on Fedora development branch (rawhide/f36), I'm getting the following warnings:
making ../build/x86_64-linux-gnu/lib/libflite_cmulex.so
../../lang/cmulex/cmu_lex.c:49:27: warning: type of 'cmu_lex_phone_table' does not match original declaration [-Wlto-type-mismatch]
49 | extern const char * const cmu_lex_phone_table[54];
| ^
../../lang/cmulex/cmu_lex_entries.c:14:20: note: array types have different bounds
14 | const char * const cmu_lex_phone_table[57] =
| ^
../../lang/cmulex/cmu_lex_entries.c:14:20: note: 'cmu_lex_phone_table' was previously declared here
...
making ../build/x86_64-linux-gnu/lib/libflite_cmu_grapheme_lex.so
../../lang/cmu_grapheme_lex/cmu_grapheme_lex.h:47:27: warning: type of 'unicode_sampa_mapping' does not match original declaration [-Wlto-type-mismatch]
47 | extern const char * const unicode_sampa_mapping[16663][5];
| ^
../../lang/cmu_grapheme_lex/grapheme_unitran_tables.c:9:20: note: array types have different bounds
9 | const char * const unicode_sampa_mapping[16798][5] =
| ^
../../lang/cmu_grapheme_lex/grapheme_unitran_tables.c:9:20: note: 'unicode_sampa_mapping' was previously declared here
When compiling flite-2.2 on Fedora development branch (rawhide/f36), I'm getting the following warnings: