regression on -current with fcitx5-m17n
by nobodino from LinuxQuestions.org on (#6E79R)
fcitx5-m18n doesn't build anymore on slackware64 -current:
Code:/tmp/fcitx5-m17n-5.0.11/im/engine.cpp: Dans la fonction membre i*void fcitx::M17NState::select(int)*i:
/tmp/fcitx5-m17n-5.0.11/im/engine.cpp:575:23: erreur: utilisation invalide du type incomplet i*struct MSymbol*i
575 | if (mplist_key(head) == Mtext) {
| ~~~~~~~~~~^~~~~~
/usr/include/m17n-core.h:197:16: note: diclaration anticipie de i*struct MSymbol*i
197 | typedef struct MSymbol *MSymbol;
| ^~~~~~~
/tmp/fcitx5-m17n-5.0.11/im/engine.cpp: Au niveau global:
/tmp/fcitx5-m17n-5.0.11/im/engine.cpp:150:5: attention: i*int fcitx::{anonymous}::GetPageSize(MSymbol, MSymbol)*i difini mais pas utilisi [-Wunused-function]
150 | int GetPageSize(MSymbol mlang, MSymbol mname) {
| ^~~~~~~~~~~
make[2]: *** [im/CMakeFiles/m17n.dir/build.make:76: im/CMakeFiles/m17n.dir/engine.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:289: im/CMakeFiles/m17n.dir/all] Error 2
Code:/tmp/fcitx5-m17n-5.0.11/im/engine.cpp: Dans la fonction membre i*void fcitx::M17NState::select(int)*i:
/tmp/fcitx5-m17n-5.0.11/im/engine.cpp:575:23: erreur: utilisation invalide du type incomplet i*struct MSymbol*i
575 | if (mplist_key(head) == Mtext) {
| ~~~~~~~~~~^~~~~~
/usr/include/m17n-core.h:197:16: note: diclaration anticipie de i*struct MSymbol*i
197 | typedef struct MSymbol *MSymbol;
| ^~~~~~~
/tmp/fcitx5-m17n-5.0.11/im/engine.cpp: Au niveau global:
/tmp/fcitx5-m17n-5.0.11/im/engine.cpp:150:5: attention: i*int fcitx::{anonymous}::GetPageSize(MSymbol, MSymbol)*i difini mais pas utilisi [-Wunused-function]
150 | int GetPageSize(MSymbol mlang, MSymbol mname) {
| ^~~~~~~~~~~
make[2]: *** [im/CMakeFiles/m17n.dir/build.make:76: im/CMakeFiles/m17n.dir/engine.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:289: im/CMakeFiles/m17n.dir/all] Error 2