* Package: dev-util/hfstospell-0.5.3:0 * Repository: gentoo * Maintainer: juippis@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking hfstospell-0.5.3.tar.gz to /var/tmp/portage/dev-util/hfstospell-0.5.3/work >>> Source unpacked in /var/tmp/portage/dev-util/hfstospell-0.5.3/work >>> Preparing source in /var/tmp/portage/dev-util/hfstospell-0.5.3/work/hfst-ospell-0.5.3 ... * Running eautoreconf in '/var/tmp/portage/dev-util/hfstospell-0.5.3/work/hfst-ospell-0.5.3' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal -I m4 --system-acdir=/var/tmp/portage/dev-util/hfstospell-0.5.3/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: hfst-ospell-0.5.3/ * Running elibtoolize in: hfst-ospell-0.5.3/build-aux/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/hfstospell-0.5.3/work/hfst-ospell-0.5.3 ... * econf: updating hfst-ospell-0.5.3/config.sub with /usr/share/gnuconfig/config.sub * econf: updating hfst-ospell-0.5.3/config.guess with /usr/share/gnuconfig/config.guess * econf: updating hfst-ospell-0.5.3/build-aux/config.sub with /usr/share/gnuconfig/config.sub * econf: updating hfst-ospell-0.5.3/build-aux/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/hfstospell-0.5.3 --htmldir=/usr/share/doc/hfstospell-0.5.3/html --with-sysroot=/ --libdir=/usr/lib64 configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for doxygen... false checking whether make supports the include directive... yes (GNU style) checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether the compiler supports GNU C... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether the compiler supports GNU C++... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for x86_64-pc-linux-gnu-g++ option to enable C++11 features... none needed checking dependency style of x86_64-pc-linux-gnu-g++... none checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... file checking for x86_64-pc-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for LIBARCHIVE... yes checking for LIBXMLPP... yes checking for ICU... yes checking for getopt.h... yes checking for error.h... yes checking for size_t... yes checking whether byte ordering is bigendian... no checking for strndup... yes checking for error... yes checking whether C++ compiler accepts -std=c++20... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating hfstospell.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands -- Building hfstospell 0.5.3 * zhfst support: yes * extracting to: mem * xml support: libxmlpp * hfst-ospell-office: yes * conference demos: no >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/hfstospell-0.5.3/work/hfst-ospell-0.5.3 ... make -j4 make all-am make[1]: Entering directory '/var/tmp/portage/dev-util/hfstospell-0.5.3/work/hfst-ospell-0.5.3' x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -std=c++20 -I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/lib64/libffi/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -std=c++20 -c -o hfst_ospell-main.o `test -f 'main.cc' || echo './'`main.cc /bin/sh ./libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -std=c++20 -I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/lib64/libffi/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -std=c++20 -c -o libhfstospell_la-hfst-ol.lo `test -f 'hfst-ol.cc' || echo './'`hfst-ol.cc /bin/sh ./libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -std=c++20 -I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/lib64/libffi/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -std=c++20 -c -o libhfstospell_la-ospell.lo `test -f 'ospell.cc' || echo './'`ospell.cc /bin/sh ./libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -std=c++20 -I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/lib64/libffi/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -std=c++20 -c -o libhfstospell_la-ZHfstOspeller.lo `test -f 'ZHfstOspeller.cc' || echo './'`ZHfstOspeller.cc libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -std=c++20 -I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/lib64/libffi/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -std=c++20 -c ospell.cc -fPIC -DPIC -o .libs/libhfstospell_la-ospell.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -std=c++20 -I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/lib64/libffi/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -std=c++20 -c hfst-ol.cc -fPIC -DPIC -o .libs/libhfstospell_la-hfst-ol.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -std=c++20 -I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/lib64/libffi/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pipe -march=native -fno-diagnostics-color -O2 -std=c++20 -c ZHfstOspeller.cc -fPIC -DPIC -o .libs/libhfstospell_la-ZHfstOspeller.o In file included from ospell.h:27, from ospell.cc:19: hfst-ol.h:39:9: error: 'uint16_t' does not name a type 39 | typedef uint16_t SymbolNumber; | ^~~~~~~~ hfst-ol.h:36:1: note: 'uint16_t' is defined in header ''; did you forget to '#include '? 35 | #include "ol-exceptions.h" +++ |+#include 36 | hfst-ol.h:40:9: error: 'uint32_t' does not name a type 40 | typedef uint32_t TransitionTableIndex; | ^~~~~~~~ hfst-ol.h:40:9: note: 'uint32_t' is defined in header ''; did you forget to '#include '? hfst-ol.h:41:21: error: 'SymbolNumber' was not declared in this scope 41 | typedef std::vector SymbolVector; | ^~~~~~~~~~~~ hfst-ol.h:41:33: error: template argument 1 is invalid 41 | typedef std::vector SymbolVector; | ^ hfst-ol.h:41:33: error: template argument 2 is invalid hfst-ol.h:43:31: error: 'SymbolNumber' was not declared in this scope 43 | typedef std::map StringSymbolMap; | ^~~~~~~~~~~~ hfst-ol.h:43:43: error: template argument 2 is invalid 43 | typedef std::map StringSymbolMap; | ^ hfst-ol.h:43:43: error: template argument 4 is invalid hfst-ol.h:55:18: error: 'SymbolNumber' was not declared in this scope 55 | typedef std::map OperationMap; | ^~~~~~~~~~~~ hfst-ol.h:55:54: error: template argument 1 is invalid 55 | typedef std::map OperationMap; | ^ hfst-ol.h:55:54: error: template argument 3 is invalid hfst-ol.h:55:54: error: template argument 4 is invalid hfst-ol.h:57:7: error: 'SymbolNumber' does not name a type 57 | const SymbolNumber NO_SYMBOL = USHRT_MAX; | ^~~~~~~~~~~~ hfst-ol.h:58:7: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 58 | const TransitionTableIndex NO_TABLE_INDEX = UINT_MAX; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:59:51: error: 'NO_TABLE_INDEX' was not declared in this scope 59 | const Weight INFINITE_WEIGHT = static_cast(NO_TABLE_INDEX); | ^~~~~~~~~~~~~~ hfst-ol.h:64:7: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 64 | const TransitionTableIndex TARGET_TABLE = 2147483648u; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:77:1: error: 'uint16_t' does not name a type 77 | uint16_t read_uint16_flipping_endianness(FILE * f); | ^~~~~~~~ hfst-ol.h:77:1: note: 'uint16_t' is defined in header ''; did you forget to '#include '? hfst-ol.h:78:1: error: 'uint16_t' does not name a type 78 | uint16_t read_uint16_flipping_endianness(char * raw); | ^~~~~~~~ hfst-ol.h:78:1: note: 'uint16_t' is defined in header ''; did you forget to '#include '? hfst-ol.h:79:1: error: 'uint32_t' does not name a type 79 | uint32_t read_uint32_flipping_endianness(char * raw); | ^~~~~~~~ hfst-ol.h:79:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? hfst-ol.h:91:5: error: 'SymbolNumber' does not name a type 91 | SymbolNumber number_of_symbols; | ^~~~~~~~~~~~ hfst-ol.h:92:5: error: 'SymbolNumber' does not name a type 92 | SymbolNumber number_of_input_symbols; | ^~~~~~~~~~~~ hfst-ol.h:93:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 93 | TransitionTableIndex size_of_transition_index_table; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex In file included from hfst-ol.cc:15: hfst-ol.h:39:9: error: 'uint16_t' does not name a type 39 | typedef uint16_t SymbolNumber; | ^~~~~~~~ hfst-ol.h:36:1: note: 'uint16_t' is defined in header ''; did you forget to '#include '? 35 | #include "ol-exceptions.h" +++ |+#include 36 | hfst-ol.h:40:9: error: 'uint32_t' does not name a type 40 | typedef uint32_t TransitionTableIndex; | ^~~~~~~~ hfst-ol.h:40:9: note: 'uint32_t' is defined in header ''; did you forget to '#include '? hfst-ol.h:94:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 94 | TransitionTableIndex size_of_transition_target_table; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:96:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 96 | TransitionTableIndex number_of_states; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:97:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 97 | TransitionTableIndex number_of_transitions; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:123:5: error: 'SymbolNumber' does not name a type 123 | SymbolNumber symbol_count(void); | ^~~~~~~~~~~~ hfst-ol.h:41:21: error: 'SymbolNumber' was not declared in this scope 41 | typedef std::vector SymbolVector; | ^~~~~~~~~~~~ hfst-ol.h:41:33: error: template argument 1 is invalid 41 | typedef std::vector SymbolVector; | ^ hfst-ol.h:41:33: error: template argument 2 is invalid hfst-ol.h:126:5: error: 'SymbolNumber' does not name a type 126 | SymbolNumber input_symbol_count(void); | ^~~~~~~~~~~~ hfst-ol.h:129:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 129 | TransitionTableIndex index_table_size(void); | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:132:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 132 | TransitionTableIndex target_table_size(void); | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:43:31: error: 'SymbolNumber' was not declared in this scope 43 | typedef std::map StringSymbolMap; | ^~~~~~~~~~~~ hfst-ol.h:43:43: error: template argument 2 is invalid 43 | typedef std::map StringSymbolMap; | ^ hfst-ol.h:43:43: error: template argument 4 is invalid hfst-ol.h:145:11: error: 'SymbolNumber' does not name a type 145 | const SymbolNumber feature; | ^~~~~~~~~~~~ hfst-ol.h:151:34: error: 'SymbolNumber' does not name a type 151 | const SymbolNumber feat, | ^~~~~~~~~~~~ hfst-ol.h:167:5: error: 'SymbolNumber' does not name a type 167 | SymbolNumber Feature(void) const; | ^~~~~~~~~~~~ hfst-ol.h:55:18: error: 'SymbolNumber' was not declared in this scope 55 | typedef std::map OperationMap; | ^~~~~~~~~~~~ hfst-ol.h:55:54: error: template argument 1 is invalid 55 | typedef std::map OperationMap; | ^ hfst-ol.h:55:54: error: template argument 3 is invalid hfst-ol.h:55:54: error: template argument 4 is invalid hfst-ol.h: In constructor 'hfst_ospell::FlagDiacriticOperation::FlagDiacriticOperation(hfst_ospell::FlagDiacriticOperator, int, hfst_ospell::ValueNumber)': hfst-ol.h:153:24: error: class 'hfst_ospell::FlagDiacriticOperation' does not have any field named 'feature' 153 | operation(op), feature(feat), value(val) {} | ^~~~~~~ hfst-ol.h: In constructor 'hfst_ospell::FlagDiacriticOperation::FlagDiacriticOperation()': hfst-ol.h:157:23: error: class 'hfst_ospell::FlagDiacriticOperation' does not have any field named 'feature' 157 | operation(P), feature(NO_SYMBOL), value(0) {} | ^~~~~~~ hfst-ol.h:57:7: error: 'SymbolNumber' does not name a type 57 | const SymbolNumber NO_SYMBOL = USHRT_MAX; | ^~~~~~~~~~~~ hfst-ol.h:58:7: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 58 | const TransitionTableIndex NO_TABLE_INDEX = UINT_MAX; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:157:31: error: 'NO_SYMBOL' was not declared in this scope 157 | operation(P), feature(NO_SYMBOL), value(0) {} | ^~~~~~~~~ hfst-ol.h:59:51: error: 'NO_TABLE_INDEX' was not declared in this scope 59 | const Weight INFINITE_WEIGHT = static_cast(NO_TABLE_INDEX); | ^~~~~~~~~~~~~~ hfst-ol.h:64:7: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 64 | const TransitionTableIndex TARGET_TABLE = 2147483648u; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:77:1: error: 'uint16_t' does not name a type 77 | uint16_t read_uint16_flipping_endianness(FILE * f); | ^~~~~~~~ hfst-ol.h:77:1: note: 'uint16_t' is defined in header ''; did you forget to '#include '? hfst-ol.h:78:1: error: 'uint16_t' does not name a type 78 | uint16_t read_uint16_flipping_endianness(char * raw); | ^~~~~~~~ hfst-ol.h:78:1: note: 'uint16_t' is defined in header ''; did you forget to '#include '? hfst-ol.h:79:1: error: 'uint32_t' does not name a type 79 | uint32_t read_uint32_flipping_endianness(char * raw); | ^~~~~~~~ hfst-ol.h:79:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? hfst-ol.h:91:5: error: 'SymbolNumber' does not name a type 91 | SymbolNumber number_of_symbols; | ^~~~~~~~~~~~ hfst-ol.h:92:5: error: 'SymbolNumber' does not name a type 92 | SymbolNumber number_of_input_symbols; | ^~~~~~~~~~~~ hfst-ol.h: At global scope: hfst-ol.h:182:5: error: 'SymbolNumber' does not name a type 182 | SymbolNumber unknown_symbol; | ^~~~~~~~~~~~ hfst-ol.h:93:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 93 | TransitionTableIndex size_of_transition_index_table; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:183:5: error: 'SymbolNumber' does not name a type 183 | SymbolNumber identity_symbol; | ^~~~~~~~~~~~ hfst-ol.h:94:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 94 | TransitionTableIndex size_of_transition_target_table; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:184:5: error: 'SymbolNumber' does not name a type 184 | SymbolNumber flag_state_size; | ^~~~~~~~~~~~ hfst-ol.h:96:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 96 | TransitionTableIndex number_of_states; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:185:5: error: 'SymbolNumber' does not name a type 185 | SymbolNumber orig_symbol_count; | ^~~~~~~~~~~~ hfst-ol.h:189:25: error: 'SymbolNumber' has not been declared 189 | void read(FILE * f, SymbolNumber number_of_symbols); | ^~~~~~~~~~~~ hfst-ol.h:190:28: error: 'SymbolNumber' has not been declared 190 | void read(char ** raw, SymbolNumber number_of_symbols); | ^~~~~~~~~~~~ hfst-ol.h:195:33: error: 'SymbolNumber' has not been declared 195 | TransducerAlphabet(FILE *f, SymbolNumber number_of_symbols); | ^~~~~~~~~~~~ hfst-ol.h:198:37: error: 'SymbolNumber' has not been declared 198 | TransducerAlphabet(char ** raw, SymbolNumber number_of_symbols); | ^~~~~~~~~~~~ hfst-ol.h:97:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 97 | TransitionTableIndex number_of_transitions; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:210:5: error: 'SymbolNumber' does not name a type 210 | SymbolNumber get_state_size(void); | ^~~~~~~~~~~~ hfst-ol.h:123:5: error: 'SymbolNumber' does not name a type 123 | SymbolNumber symbol_count(void); | ^~~~~~~~~~~~ hfst-ol.h:213:5: error: 'SymbolNumber' does not name a type 213 | SymbolNumber get_unknown(void) const; | ^~~~~~~~~~~~ hfst-ol.h:126:5: error: 'SymbolNumber' does not name a type 126 | SymbolNumber input_symbol_count(void); | ^~~~~~~~~~~~ hfst-ol.h:214:5: error: 'SymbolNumber' does not name a type 214 | SymbolNumber get_identity(void) const; | ^~~~~~~~~~~~ hfst-ol.h:129:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 129 | TransitionTableIndex index_table_size(void); | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:216:5: error: 'SymbolNumber' does not name a type 216 | SymbolNumber get_orig_symbol_count(void) const; | ^~~~~~~~~~~~ hfst-ol.h:223:18: error: 'SymbolNumber' has not been declared 223 | bool is_flag(SymbolNumber symbol); | ^~~~~~~~~~~~ hfst-ol.h:132:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 132 | TransitionTableIndex target_table_size(void); | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:145:11: error: 'SymbolNumber' does not name a type 145 | const SymbolNumber feature; | ^~~~~~~~~~~~ hfst-ol.h:151:34: error: 'SymbolNumber' does not name a type 151 | const SymbolNumber feat, | ^~~~~~~~~~~~ hfst-ol.h:245:36: error: 'SymbolNumber' has not been declared 245 | void add_string(const char * p,SymbolNumber symbol_key); | ^~~~~~~~~~~~ hfst-ol.h:167:5: error: 'SymbolNumber' does not name a type 167 | SymbolNumber Feature(void) const; | ^~~~~~~~~~~~ hfst-ol.h: In constructor 'hfst_ospell::FlagDiacriticOperation::FlagDiacriticOperation(hfst_ospell::FlagDiacriticOperator, int, hfst_ospell::ValueNumber)': hfst-ol.h:153:24: error: class 'hfst_ospell::FlagDiacriticOperation' does not have any field named 'feature' 153 | operation(op), feature(feat), value(val) {} | ^~~~~~~ hfst-ol.h:248:5: error: 'SymbolNumber' does not name a type 248 | SymbolNumber find_key(char ** p); | ^~~~~~~~~~~~ hfst-ol.h: In constructor 'hfst_ospell::FlagDiacriticOperation::FlagDiacriticOperation()': hfst-ol.h:157:23: error: class 'hfst_ospell::FlagDiacriticOperation' does not have any field named 'feature' 157 | operation(P), feature(NO_SYMBOL), value(0) {} | ^~~~~~~ hfst-ol.h:157:31: error: 'NO_SYMBOL' was not declared in this scope 157 | operation(P), feature(NO_SYMBOL), value(0) {} | ^~~~~~~~~ hfst-ol.h: In constructor 'hfst_ospell::LetterTrie::LetterTrie()': hfst-ol.h:241:25: error: 'NO_SYMBOL' was not declared in this scope 241 | symbols(UCHAR_MAX+1,NO_SYMBOL) | ^~~~~~~~~ hfst-ol.h:241:5: error: expression list treated as compound expression in mem-initializer [-fpermissive] 241 | symbols(UCHAR_MAX+1,NO_SYMBOL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hfst-ol.h: At global scope: hfst-ol.h:262:44: error: 'SymbolNumber' has not been declared 262 | void read_input_symbols(KeyTable * kt, SymbolNumber number_of_input_symbols); | ^~~~~~~~~~~~ hfst-ol.h:267:28: error: 'SymbolNumber' has not been declared 267 | Encoder(KeyTable * kt, SymbolNumber number_of_input_symbols); | ^~~~~~~~~~~~ hfst-ol.h:268:5: error: 'SymbolNumber' does not name a type 268 | SymbolNumber find_key(char ** p); | ^~~~~~~~~~~~ hfst-ol.h:281:5: error: 'SymbolNumber' does not name a type 281 | SymbolNumber input_symbol; //!< transition's input symbol | ^~~~~~~~~~~~ hfst-ol.h:282:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 282 | TransitionTableIndex first_transition_index; //!< first transition location | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h: At global scope: hfst-ol.h:182:5: error: 'SymbolNumber' does not name a type 182 | SymbolNumber unknown_symbol; | ^~~~~~~~~~~~ hfst-ol.h:183:5: error: 'SymbolNumber' does not name a type 183 | SymbolNumber identity_symbol; | ^~~~~~~~~~~~ hfst-ol.h:184:5: error: 'SymbolNumber' does not name a type 184 | SymbolNumber flag_state_size; | ^~~~~~~~~~~~ hfst-ol.h:185:5: error: 'SymbolNumber' does not name a type 185 | SymbolNumber orig_symbol_count; | ^~~~~~~~~~~~ hfst-ol.h:189:25: error: 'SymbolNumber' has not been declared 189 | void read(FILE * f, SymbolNumber number_of_symbols); | ^~~~~~~~~~~~ hfst-ol.h:190:28: error: 'SymbolNumber' has not been declared 190 | void read(char ** raw, SymbolNumber number_of_symbols); | ^~~~~~~~~~~~ hfst-ol.h:195:33: error: 'SymbolNumber' has not been declared 195 | TransducerAlphabet(FILE *f, SymbolNumber number_of_symbols); | ^~~~~~~~~~~~ hfst-ol.h:198:37: error: 'SymbolNumber' has not been declared 198 | TransducerAlphabet(char ** raw, SymbolNumber number_of_symbols); | ^~~~~~~~~~~~ hfst-ol.h:289:16: error: 'SymbolNumber' was not declared in this scope 289 | sizeof(SymbolNumber) + sizeof(TransitionTableIndex); | ^~~~~~~~~~~~ hfst-ol.h:210:5: error: 'SymbolNumber' does not name a type 210 | SymbolNumber get_state_size(void); | ^~~~~~~~~~~~ hfst-ol.h:213:5: error: 'SymbolNumber' does not name a type 213 | SymbolNumber get_unknown(void) const; | ^~~~~~~~~~~~ hfst-ol.h:214:5: error: 'SymbolNumber' does not name a type 214 | SymbolNumber get_identity(void) const; | ^~~~~~~~~~~~ hfst-ol.h:216:5: error: 'SymbolNumber' does not name a type 216 | SymbolNumber get_orig_symbol_count(void) const; | ^~~~~~~~~~~~ hfst-ol.h:223:18: error: 'SymbolNumber' has not been declared 223 | bool is_flag(SymbolNumber symbol); | ^~~~~~~~~~~~ hfst-ol.h:289:39: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionIndex'? 289 | sizeof(SymbolNumber) + sizeof(TransitionTableIndex); | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:293:27: error: 'SymbolNumber' does not name a type 293 | TransitionIndex(const SymbolNumber input, | ^~~~~~~~~~~~ hfst-ol.h:294:27: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 294 | const TransitionTableIndex first_transition): | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:245:36: error: 'SymbolNumber' has not been declared 245 | void add_string(const char * p,SymbolNumber symbol_key); | ^~~~~~~~~~~~ hfst-ol.h:300:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 300 | TransitionTableIndex target(void) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:248:5: error: 'SymbolNumber' does not name a type 248 | SymbolNumber find_key(char ** p); | ^~~~~~~~~~~~ hfst-ol.h:309:5: error: 'SymbolNumber' does not name a type 309 | SymbolNumber get_input(void) const; | ^~~~~~~~~~~~ hfst-ol.h: In constructor 'hfst_ospell::TransitionIndex::TransitionIndex(int, int)': hfst-ol.h:295:9: error: class 'hfst_ospell::TransitionIndex' does not have any field named 'input_symbol' 295 | input_symbol(input), | ^~~~~~~~~~~~ hfst-ol.h:296:9: error: class 'hfst_ospell::TransitionIndex' does not have any field named 'first_transition_index' 296 | first_transition_index(first_transition) | ^~~~~~~~~~~~~~~~~~~~~~ hfst-ol.h: At global scope: hfst-ol.h:318:5: error: 'SymbolNumber' does not name a type 318 | SymbolNumber input_symbol; //!< input symbol | ^~~~~~~~~~~~ hfst-ol.h:319:5: error: 'SymbolNumber' does not name a type 319 | SymbolNumber output_symbol; //!< output symbol | ^~~~~~~~~~~~ hfst-ol.h:320:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 320 | TransitionTableIndex target_index; //!< location of target of transition | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h: In constructor 'hfst_ospell::LetterTrie::LetterTrie()': hfst-ol.h:241:25: error: 'NO_SYMBOL' was not declared in this scope 241 | symbols(UCHAR_MAX+1,NO_SYMBOL) | ^~~~~~~~~ hfst-ol.h:241:5: error: expression list treated as compound expression in mem-initializer [-fpermissive] 241 | symbols(UCHAR_MAX+1,NO_SYMBOL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hfst-ol.h: At global scope: hfst-ol.h:262:44: error: 'SymbolNumber' has not been declared 262 | void read_input_symbols(KeyTable * kt, SymbolNumber number_of_input_symbols); | ^~~~~~~~~~~~ hfst-ol.h:267:28: error: 'SymbolNumber' has not been declared 267 | Encoder(KeyTable * kt, SymbolNumber number_of_input_symbols); | ^~~~~~~~~~~~ hfst-ol.h:268:5: error: 'SymbolNumber' does not name a type 268 | SymbolNumber find_key(char ** p); | ^~~~~~~~~~~~ hfst-ol.h:281:5: error: 'SymbolNumber' does not name a type 281 | SymbolNumber input_symbol; //!< transition's input symbol | ^~~~~~~~~~~~ hfst-ol.h:328:20: error: 'SymbolNumber' was not declared in this scope 328 | 2 * sizeof(SymbolNumber) + sizeof(TransitionTableIndex) + sizeof(Weight); | ^~~~~~~~~~~~ hfst-ol.h:282:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 282 | TransitionTableIndex first_transition_index; //!< first transition location | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:328:43: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionIndex'? 328 | 2 * sizeof(SymbolNumber) + sizeof(TransitionTableIndex) + sizeof(Weight); | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:289:16: error: 'SymbolNumber' was not declared in this scope 289 | sizeof(SymbolNumber) + sizeof(TransitionTableIndex); | ^~~~~~~~~~~~ hfst-ol.h:332:22: error: 'SymbolNumber' does not name a type 332 | Transition(const SymbolNumber input, | ^~~~~~~~~~~~ hfst-ol.h:333:22: error: 'SymbolNumber' does not name a type 333 | const SymbolNumber output, | ^~~~~~~~~~~~ hfst-ol.h:334:22: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 334 | const TransitionTableIndex target, | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:351:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 351 | TransitionTableIndex target(void) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:289:39: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionIndex'? 289 | sizeof(SymbolNumber) + sizeof(TransitionTableIndex); | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:354:5: error: 'SymbolNumber' does not name a type 354 | SymbolNumber get_output(void) const; | ^~~~~~~~~~~~ hfst-ol.h:357:5: error: 'SymbolNumber' does not name a type 357 | SymbolNumber get_input(void) const; | ^~~~~~~~~~~~ hfst-ol.h:293:27: error: 'SymbolNumber' does not name a type 293 | TransitionIndex(const SymbolNumber input, | ^~~~~~~~~~~~ hfst-ol.h: In constructor 'hfst_ospell::Transition::Transition(int, int, int, hfst_ospell::Weight)': hfst-ol.h:336:9: error: class 'hfst_ospell::Transition' does not have any field named 'input_symbol' 336 | input_symbol(input), | ^~~~~~~~~~~~ hfst-ol.h:337:9: error: class 'hfst_ospell::Transition' does not have any field named 'output_symbol' 337 | output_symbol(output), | ^~~~~~~~~~~~~ hfst-ol.h:338:9: error: class 'hfst_ospell::Transition' does not have any field named 'target_index' 338 | target_index(target), | ^~~~~~~~~~~~ hfst-ol.h: In constructor 'hfst_ospell::Transition::Transition()': hfst-ol.h:343:9: error: class 'hfst_ospell::Transition' does not have any field named 'input_symbol' 343 | input_symbol(NO_SYMBOL), | ^~~~~~~~~~~~ hfst-ol.h:294:27: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 294 | const TransitionTableIndex first_transition): | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:300:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 300 | TransitionTableIndex target(void) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:309:5: error: 'SymbolNumber' does not name a type 309 | SymbolNumber get_input(void) const; | ^~~~~~~~~~~~ hfst-ol.h: In constructor 'hfst_ospell::TransitionIndex::TransitionIndex(int, int)': hfst-ol.h:295:9: error: class 'hfst_ospell::TransitionIndex' does not have any field named 'input_symbol' 295 | input_symbol(input), | ^~~~~~~~~~~~ hfst-ol.h:296:9: error: class 'hfst_ospell::TransitionIndex' does not have any field named 'first_transition_index' 296 | first_transition_index(first_transition) | ^~~~~~~~~~~~~~~~~~~~~~ hfst-ol.h:343:22: error: 'NO_SYMBOL' was not declared in this scope 343 | input_symbol(NO_SYMBOL), | ^~~~~~~~~ hfst-ol.h:344:9: error: class 'hfst_ospell::Transition' does not have any field named 'output_symbol' 344 | output_symbol(NO_SYMBOL), | ^~~~~~~~~~~~~ hfst-ol.h:345:9: error: class 'hfst_ospell::Transition' does not have any field named 'target_index' 345 | target_index(NO_TABLE_INDEX), | ^~~~~~~~~~~~ hfst-ol.h: At global scope: hfst-ol.h:318:5: error: 'SymbolNumber' does not name a type 318 | SymbolNumber input_symbol; //!< input symbol | ^~~~~~~~~~~~ hfst-ol.h:319:5: error: 'SymbolNumber' does not name a type 319 | SymbolNumber output_symbol; //!< output symbol | ^~~~~~~~~~~~ hfst-ol.h:320:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 320 | TransitionTableIndex target_index; //!< location of target of transition | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:345:22: error: 'NO_TABLE_INDEX' was not declared in this scope 345 | target_index(NO_TABLE_INDEX), | ^~~~~~~~~~~~~~ hfst-ol.h: At global scope: hfst-ol.h:373:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 373 | TransitionTableIndex size; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:375:15: error: 'TransitionTableIndex' has not been declared 375 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:377:15: error: 'TransitionTableIndex' has not been declared 377 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:384:16: error: 'TransitionTableIndex' has not been declared 384 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:388:16: error: 'TransitionTableIndex' has not been declared 388 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:328:20: error: 'SymbolNumber' was not declared in this scope 328 | 2 * sizeof(SymbolNumber) + sizeof(TransitionTableIndex) + sizeof(Weight); | ^~~~~~~~~~~~ hfst-ol.h:392:5: error: 'SymbolNumber' does not name a type 392 | SymbolNumber input_symbol(TransitionTableIndex i) const; | ^~~~~~~~~~~~ hfst-ol.h:395:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 395 | TransitionTableIndex target(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:398:16: error: 'TransitionTableIndex' has not been declared 398 | bool final(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:401:25: error: 'TransitionTableIndex' has not been declared 401 | Weight final_weight(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:413:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 413 | TransitionTableIndex size; | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.h:418:15: error: 'TransitionTableIndex' has not been declared 418 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:421:15: error: 'TransitionTableIndex' has not been declared 421 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:427:21: error: 'TransitionTableIndex' has not been declared 427 | TransitionTableIndex transition_count); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:431:21: error: 'TransitionTableIndex' has not been declared 431 | TransitionTableIndex transition_count); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:436:5: error: 'SymbolNumber' does not name a type 436 | SymbolNumber input_symbol(TransitionTableIndex i) const; | ^~~~~~~~~~~~ hfst-ol.h:328:43: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionIndex'? 328 | 2 * sizeof(SymbolNumber) + sizeof(TransitionTableIndex) + sizeof(Weight); | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:439:5: error: 'SymbolNumber' does not name a type 439 | SymbolNumber output_symbol(TransitionTableIndex i) const; | ^~~~~~~~~~~~ hfst-ol.h:332:22: error: 'SymbolNumber' does not name a type 332 | Transition(const SymbolNumber input, | ^~~~~~~~~~~~ hfst-ol.h:442:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 442 | TransitionTableIndex target(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.h:445:19: error: 'TransitionTableIndex' has not been declared 445 | Weight weight(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:448:16: error: 'TransitionTableIndex' has not been declared 448 | bool final(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:333:22: error: 'SymbolNumber' does not name a type 333 | const SymbolNumber output, | ^~~~~~~~~~~~ hfst-ol.h:334:22: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 334 | const TransitionTableIndex target, | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex ospell.h:46:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 46 | TransitionTableIndex index; //!< index to transition | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.h:351:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 351 | TransitionTableIndex target(void) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex ospell.h:47:5: error: 'SymbolNumber' does not name a type 47 | SymbolNumber symbol; //!< symbol of transition | ^~~~~~~~~~~~ ospell.h:52:37: error: expected ')' before 'i' 52 | STransition(TransitionTableIndex i, | ~ ^~ | ) ospell.h:60:37: error: expected ')' before 'i' 60 | STransition(TransitionTableIndex i, | ~ ^~ | ) hfst-ol.h:354:5: error: 'SymbolNumber' does not name a type 354 | SymbolNumber get_output(void) const; | ^~~~~~~~~~~~ hfst-ol.h:357:5: error: 'SymbolNumber' does not name a type 357 | SymbolNumber get_input(void) const; | ^~~~~~~~~~~~ hfst-ol.h: In constructor 'hfst_ospell::Transition::Transition(int, int, int, hfst_ospell::Weight)': hfst-ol.h:336:9: error: class 'hfst_ospell::Transition' does not have any field named 'input_symbol' 336 | input_symbol(input), | ^~~~~~~~~~~~ hfst-ol.h:337:9: error: class 'hfst_ospell::Transition' does not have any field named 'output_symbol' 337 | output_symbol(output), | ^~~~~~~~~~~~~ hfst-ol.h:338:9: error: class 'hfst_ospell::Transition' does not have any field named 'target_index' 338 | target_index(target), | ^~~~~~~~~~~~ hfst-ol.h: In constructor 'hfst_ospell::Transition::Transition()': hfst-ol.h:343:9: error: class 'hfst_ospell::Transition' does not have any field named 'input_symbol' 343 | input_symbol(NO_SYMBOL), | ^~~~~~~~~~~~ hfst-ol.h:343:22: error: 'NO_SYMBOL' was not declared in this scope 343 | input_symbol(NO_SYMBOL), | ^~~~~~~~~ hfst-ol.h:344:9: error: class 'hfst_ospell::Transition' does not have any field named 'output_symbol' 344 | output_symbol(NO_SYMBOL), | ^~~~~~~~~~~~~ hfst-ol.h:345:9: error: class 'hfst_ospell::Transition' does not have any field named 'target_index' 345 | target_index(NO_TABLE_INDEX), | ^~~~~~~~~~~~ hfst-ol.h:345:22: error: 'NO_TABLE_INDEX' was not declared in this scope 345 | target_index(NO_TABLE_INDEX), | ^~~~~~~~~~~~~~ hfst-ol.h: At global scope: hfst-ol.h:373:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 373 | TransitionTableIndex size; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:375:15: error: 'TransitionTableIndex' has not been declared 375 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:377:15: error: 'TransitionTableIndex' has not been declared 377 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:384:16: error: 'TransitionTableIndex' has not been declared 384 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:388:16: error: 'TransitionTableIndex' has not been declared 388 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ ospell.h:195:18: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 195 | static const TransitionTableIndex START_INDEX = 0; //!< position of first | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.h:215:27: error: 'TransitionTableIndex' has not been declared 215 | bool final_transition(TransitionTableIndex i); | ^~~~~~~~~~~~~~~~~~~~ ospell.h:218:22: error: 'TransitionTableIndex' has not been declared 218 | bool final_index(TransitionTableIndex i); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:392:5: error: 'SymbolNumber' does not name a type 392 | SymbolNumber input_symbol(TransitionTableIndex i) const; | ^~~~~~~~~~~~ ospell.h:224:5: error: 'SymbolNumber' does not name a type 224 | SymbolNumber find_next_key(char ** p); | ^~~~~~~~~~~~ hfst-ol.h:395:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 395 | TransitionTableIndex target(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:398:16: error: 'TransitionTableIndex' has not been declared 398 | bool final(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:401:25: error: 'TransitionTableIndex' has not been declared 401 | Weight final_weight(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ ospell.h:233:5: error: 'SymbolNumber' does not name a type 233 | SymbolNumber get_unknown(void) const; | ^~~~~~~~~~~~ hfst-ol.h:413:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 413 | TransitionTableIndex size; | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.h:418:15: error: 'TransitionTableIndex' has not been declared 418 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:421:15: error: 'TransitionTableIndex' has not been declared 421 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:427:21: error: 'TransitionTableIndex' has not been declared 427 | TransitionTableIndex transition_count); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:431:21: error: 'TransitionTableIndex' has not been declared 431 | TransitionTableIndex transition_count); | ^~~~~~~~~~~~~~~~~~~~ ospell.h:234:5: error: 'SymbolNumber' does not name a type 234 | SymbolNumber get_identity(void) const; | ^~~~~~~~~~~~ hfst-ol.h:436:5: error: 'SymbolNumber' does not name a type 436 | SymbolNumber input_symbol(TransitionTableIndex i) const; | ^~~~~~~~~~~~ ospell.h:243:37: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 243 | STransition take_epsilons(const TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.h:246:47: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 246 | STransition take_epsilons_and_flags(const TransitionTableIndex i); | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.h:439:5: error: 'SymbolNumber' does not name a type 439 | SymbolNumber output_symbol(TransitionTableIndex i) const; | ^~~~~~~~~~~~ ospell.h:249:41: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 249 | STransition take_non_epsilons(const TransitionTableIndex i, | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.h:442:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 442 | TransitionTableIndex target(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.h:445:19: error: 'TransitionTableIndex' has not been declared 445 | Weight weight(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:448:16: error: 'TransitionTableIndex' has not been declared 448 | bool final(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ ospell.h:250:41: error: 'SymbolNumber' does not name a type 250 | const SymbolNumber symbol) const; | ^~~~~~~~~~~~ hfst-ol.cc:48:1: error: 'uint16_t' does not name a type 48 | uint16_t read_uint16_flipping_endianness(FILE * f) | ^~~~~~~~ hfst-ol.cc:19:1: note: 'uint16_t' is defined in header ''; did you forget to '#include '? 18 | # include +++ |+#include 19 | #endif hfst-ol.cc:59:1: error: 'uint16_t' does not name a type 59 | uint16_t read_uint16_flipping_endianness(char * raw) | ^~~~~~~~ hfst-ol.cc:59:1: note: 'uint16_t' is defined in header ''; did you forget to '#include '? hfst-ol.cc:68:1: error: 'uint32_t' does not name a type 68 | uint32_t read_uint32_flipping_endianness(FILE * f) | ^~~~~~~~ hfst-ol.cc:68:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? hfst-ol.cc:85:1: error: 'uint32_t' does not name a type 85 | uint32_t read_uint32_flipping_endianness(char * raw) | ^~~~~~~~ hfst-ol.cc:85:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? ospell.h:253:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 253 | TransitionTableIndex next(const TransitionTableIndex i, | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc: In member function 'void hfst_ospell::TransducerHeader::read_property(bool&, FILE*)': hfst-ol.cc:123:32: error: 'uint32_t' was not declared in this scope 123 | if (fread(&prop,sizeof(uint32_t),1,f) != 1) { | ^~~~~~~~ hfst-ol.cc:123:32: note: 'uint32_t' is defined in header ''; did you forget to '#include '? ospell.h:257:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 257 | TransitionTableIndex next_e(const TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.h:260:32: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 260 | bool has_transitions(const TransitionTableIndex i, | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.h:261:32: error: 'SymbolNumber' does not name a type 261 | const SymbolNumber symbol) const; | ^~~~~~~~~~~~ hfst-ol.cc: In member function 'void hfst_ospell::TransducerHeader::read_property(bool&, char**)': hfst-ol.cc:147:22: error: 'uint32_t' was not declared in this scope 147 | (*raw) += sizeof(uint32_t); | ^~~~~~~~ hfst-ol.cc:147:22: note: 'uint32_t' is defined in header ''; did you forget to '#include '? hfst-ol.cc: In member function 'void hfst_ospell::TransducerHeader::skip_hfst3_header(FILE*)': hfst-ol.cc:165:9: error: 'uint16_t' was not declared in this scope 165 | uint16_t remaining_header_len = 0; | ^~~~~~~~ hfst-ol.cc:165:9: note: 'uint16_t' is defined in header ''; did you forget to '#include '? ospell.h:264:38: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 264 | bool has_epsilons_or_flags(const TransitionTableIndex i); | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.h:267:42: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 267 | bool has_non_epsilons_or_flags(const TransitionTableIndex i); | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.h:270:25: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 270 | bool is_final(const TransitionTableIndex i); | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.h:273:31: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 273 | Weight final_weight(const TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.h:276:24: error: 'SymbolNumber' does not name a type 276 | bool is_flag(const SymbolNumber symbol); | ^~~~~~~~~~~~ ospell.h:291:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 291 | TransitionTableIndex mutator_state; //!< state in error model | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:167:13: error: 'remaining_header_len' was not declared in this scope 167 | remaining_header_len = read_uint16_flipping_endianness(f); | ^~~~~~~~~~~~~~~~~~~~ ospell.h:292:5: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 292 | TransitionTableIndex lexicon_state; //!< state in language model | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.h:300:14: error: 'TransitionTableIndex' has not been declared 300 | TransitionTableIndex mutator, | ^~~~~~~~~~~~~~~~~~~~ ospell.h:301:14: error: 'TransitionTableIndex' has not been declared 301 | TransitionTableIndex lexicon, | ^~~~~~~~~~~~~~~~~~~~ ospell.h:329:29: error: 'SymbolNumber' has not been declared 329 | TreeNode update_lexicon(SymbolNumber next_symbol, | ^~~~~~~~~~~~ ospell.h:330:29: error: 'TransitionTableIndex' has not been declared 330 | TransitionTableIndex next_lexicon, | ^~~~~~~~~~~~~~~~~~~~ ospell.h:335:29: error: 'TransitionTableIndex' has not been declared 335 | TreeNode update_mutator(TransitionTableIndex next_mutator, | ^~~~~~~~~~~~~~~~~~~~ ospell.h:340:22: error: 'SymbolNumber' has not been declared 340 | TreeNode update(SymbolNumber output_symbol, | ^~~~~~~~~~~~ ospell.h:342:22: error: 'TransitionTableIndex' has not been declared 342 | TransitionTableIndex next_mutator, | ^~~~~~~~~~~~~~~~~~~~ ospell.h:343:22: error: 'TransitionTableIndex' has not been declared 343 | TransitionTableIndex next_lexicon, | ^~~~~~~~~~~~~~~~~~~~ ospell.h:346:21: error: 'SymbolNumber' has not been declared 346 | TreeNode update(SymbolNumber output_symbol, | ^~~~~~~~~~~~ ospell.h:347:21: error: 'TransitionTableIndex' has not been declared 347 | TransitionTableIndex next_mutator, | ^~~~~~~~~~~~~~~~~~~~ ospell.h:348:21: error: 'TransitionTableIndex' has not been declared 348 | TransitionTableIndex next_lexicon, | ^~~~~~~~~~~~~~~~~~~~ ospell.h: In constructor 'hfst_ospell::TreeNode::TreeNode(hfst_ospell::SymbolVector, unsigned int, int, int, hfst_ospell::FlagDiacriticState, hfst_ospell::Weight)': ospell.h:306:9: error: class 'hfst_ospell::TreeNode' does not have any field named 'mutator_state' 306 | mutator_state(mutator), | ^~~~~~~~~~~~~ ospell.h:307:9: error: class 'hfst_ospell::TreeNode' does not have any field named 'lexicon_state' 307 | lexicon_state(lexicon), | ^~~~~~~~~~~~~ ospell.h: In constructor 'hfst_ospell::TreeNode::TreeNode(hfst_ospell::FlagDiacriticState)': ospell.h:317:5: error: class 'hfst_ospell::TreeNode' does not have any field named 'mutator_state' 317 | mutator_state(0), | ^~~~~~~~~~~~~ ospell.h:318:5: error: class 'hfst_ospell::TreeNode' does not have any field named 'lexicon_state' 318 | lexicon_state(0), | ^~~~~~~~~~~~~ hfst-ol.cc:167:36: error: 'read_uint16_flipping_endianness' was not declared in this scope; did you mean 'read_float_flipping_endianness'? 167 | remaining_header_len = read_uint16_flipping_endianness(f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | read_float_flipping_endianness hfst-ol.cc:169:24: error: 'remaining_header_len' was not declared in this scope 169 | if (fread(&remaining_header_len, | ^~~~~~~~~~~~~~~~~~~~ ospell.h: At global scope: ospell.h:415:5: error: 'SymbolNumber' does not name a type 415 | SymbolNumber get_state_size(void); | ^~~~~~~~~~~~ ospell.h:419:44: error: 'SymbolNumber' has not been declared 419 | void add_symbol_to_alphabet_translator(SymbolNumber to_sym); | ^~~~~~~~~~~~ ospell.h:441:29: error: 'SymbolNumber' has not been declared 441 | void queue_mutator_arcs(SymbolNumber input); | ^~~~~~~~~~~~ ospell.h:443:29: error: 'SymbolNumber' has not been declared 443 | void queue_lexicon_arcs(SymbolNumber input, | ^~~~~~~~~~~~ ospell.h:478:22: error: 'SymbolNumber' has not been declared 478 | void build_cache(SymbolNumber first_sym); | ^~~~~~~~~~~~ ospell.h: In member function 'bool hfst_ospell::Speller::has_lexicon_epsilons() const': ospell.h:428:61: error: 'const struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 428 | return lexicon->has_epsilons_or_flags(next_node.lexicon_state + 1); | ^~~~~~~~~~~~~ ospell.h: In member function 'bool hfst_ospell::Speller::has_mutator_epsilons() const': ospell.h:435:55: error: 'const struct hfst_ospell::TreeNode' has no member named 'mutator_state' 435 | return mutator->has_transitions(next_node.mutator_state + 1, 0); | ^~~~~~~~~~~~~ hfst-ol.cc:180:33: error: 'remaining_header_len' was not declared in this scope 180 | std::string headervalue(remaining_header_len, '\0'); | ^~~~~~~~~~~~~~~~~~~~ ospell.cc: In constructor 'hfst_ospell::Transducer::Transducer(FILE*)': ospell.cc:74:43: error: 'class hfst_ospell::TransducerHeader' has no member named 'symbol_count' 74 | alphabet(TransducerAlphabet(f, header.symbol_count())), | ^~~~~~~~~~~~ ospell.cc:76:25: error: 'class hfst_ospell::TransducerHeader' has no member named 'input_symbol_count' 76 | encoder(keys,header.input_symbol_count()), | ^~~~~~~~~~~~~~~~~~ ospell.cc:77:22: error: 'class hfst_ospell::TransducerHeader' has no member named 'index_table_size' 77 | indices(f,header.index_table_size()), | ^~~~~~~~~~~~~~~~ ospell.cc:78:26: error: 'class hfst_ospell::TransducerHeader' has no member named 'target_table_size' 78 | transitions(f,header.target_table_size()) | ^~~~~~~~~~~~~~~~~ ospell.cc: In constructor 'hfst_ospell::Transducer::Transducer(char*)': ospell.cc:83:46: error: 'class hfst_ospell::TransducerHeader' has no member named 'symbol_count' 83 | alphabet(TransducerAlphabet(&raw, header.symbol_count())), | ^~~~~~~~~~~~ ospell.cc:85:25: error: 'class hfst_ospell::TransducerHeader' has no member named 'input_symbol_count' 85 | encoder(keys,header.input_symbol_count()), | ^~~~~~~~~~~~~~~~~~ ospell.cc:86:25: error: 'class hfst_ospell::TransducerHeader' has no member named 'index_table_size' 86 | indices(&raw,header.index_table_size()), | ^~~~~~~~~~~~~~~~ ospell.cc:87:29: error: 'class hfst_ospell::TransducerHeader' has no member named 'target_table_size' 87 | transitions(&raw,header.target_table_size()) | ^~~~~~~~~~~~~~~~~ ospell.cc: At global scope: ospell.cc:90:10: error: 'hfst_ospell::TreeNode hfst_ospell::TreeNode::update_lexicon' is not a static data member of 'struct hfst_ospell::TreeNode' 90 | TreeNode TreeNode::update_lexicon(SymbolNumber symbol, | ^~~~~~~~ hfst-ol.cc: In member function 'void hfst_ospell::TransducerHeader::skip_hfst3_header(char**)': hfst-ol.cc:225:9: error: 'uint16_t' was not declared in this scope 225 | uint16_t remaining_header_len = 0; | ^~~~~~~~ hfst-ol.cc:225:9: note: 'uint16_t' is defined in header ''; did you forget to '#include '? ospell.cc:90:35: error: 'SymbolNumber' was not declared in this scope 90 | TreeNode TreeNode::update_lexicon(SymbolNumber symbol, | ^~~~~~~~~~~~ hfst-ol.cc:227:13: error: 'remaining_header_len' was not declared in this scope 227 | remaining_header_len = read_uint16_flipping_endianness(*raw); | ^~~~~~~~~~~~~~~~~~~~ ospell.cc:91:35: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 91 | TransitionTableIndex next_lexicon, | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.cc:92:42: error: expected primary-expression before 'weight' 92 | Weight weight) | ^~~~~~ ospell.cc:93:1: error: expected ',' or ';' before '{' token 93 | { | ^ ospell.cc:106:10: error: 'hfst_ospell::TreeNode hfst_ospell::TreeNode::update_mutator' is not a static data member of 'struct hfst_ospell::TreeNode' 106 | TreeNode TreeNode::update_mutator(TransitionTableIndex next_mutator, | ^~~~~~~~ hfst-ol.cc:227:36: error: 'read_uint16_flipping_endianness' was not declared in this scope; did you mean 'read_float_flipping_endianness'? 227 | remaining_header_len = read_uint16_flipping_endianness(*raw); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | read_float_flipping_endianness ospell.cc:106:35: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 106 | TreeNode TreeNode::update_mutator(TransitionTableIndex next_mutator, | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.cc:107:42: error: expected primary-expression before 'weight' 107 | Weight weight) | ^~~~~~ ospell.cc:108:1: error: expected ',' or ';' before '{' token 108 | { | ^ ospell.cc:117:10: error: 'hfst_ospell::TreeNode hfst_ospell::TreeNode::update' is not a static data member of 'struct hfst_ospell::TreeNode' 117 | TreeNode TreeNode::update(SymbolNumber symbol, | ^~~~~~~~ hfst-ol.cc:229:13: error: 'remaining_header_len' was not declared in this scope 229 | remaining_header_len = *((unsigned short *) *raw); | ^~~~~~~~~~~~~~~~~~~~ ospell.cc:117:27: error: 'SymbolNumber' was not declared in this scope 117 | TreeNode TreeNode::update(SymbolNumber symbol, | ^~~~~~~~~~~~ ospell.cc:118:27: error: expected primary-expression before 'unsigned' 118 | unsigned int next_input, | ^~~~~~~~ hfst-ol.cc:232:42: error: 'remaining_header_len' was not declared in this scope 232 | (*raw) += sizeof(uint16_t) + 1 + remaining_header_len; | ^~~~~~~~~~~~~~~~~~~~ ospell.cc:119:27: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 119 | TransitionTableIndex next_mutator, | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc: In constructor 'hfst_ospell::TransducerHeader::TransducerHeader(FILE*)': hfst-ol.cc:248:9: error: 'number_of_input_symbols' was not declared in this scope 248 | number_of_input_symbols = read_uint16_flipping_endianness(f); | ^~~~~~~~~~~~~~~~~~~~~~~ ospell.cc:120:27: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 120 | TransitionTableIndex next_lexicon, | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.cc:121:34: error: expected primary-expression before 'weight' 121 | Weight weight) | ^~~~~~ ospell.cc:122:1: error: expected ',' or ';' before '{' token 122 | { | ^ ospell.cc:135:10: error: 'hfst_ospell::TreeNode hfst_ospell::TreeNode::update' is not a static data member of 'struct hfst_ospell::TreeNode' 135 | TreeNode TreeNode::update(SymbolNumber symbol, | ^~~~~~~~ hfst-ol.cc:248:35: error: 'read_uint16_flipping_endianness' was not declared in this scope; did you mean 'read_float_flipping_endianness'? 248 | number_of_input_symbols = read_uint16_flipping_endianness(f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | read_float_flipping_endianness ospell.cc:135:27: error: 'SymbolNumber' was not declared in this scope 135 | TreeNode TreeNode::update(SymbolNumber symbol, | ^~~~~~~~~~~~ hfst-ol.cc:249:9: error: 'number_of_symbols' was not declared in this scope 249 | number_of_symbols = read_uint16_flipping_endianness(f); | ^~~~~~~~~~~~~~~~~ ospell.cc:136:27: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 136 | TransitionTableIndex next_mutator, | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:250:9: error: 'size_of_transition_index_table' was not declared in this scope 250 | size_of_transition_index_table = read_uint32_flipping_endianness(f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ospell.cc:137:27: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 137 | TransitionTableIndex next_lexicon, | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.cc:138:34: error: expected primary-expression before 'weight' 138 | Weight weight) | ^~~~~~ ospell.cc:139:1: error: expected ',' or ';' before '{' token 139 | { | ^ ospell.cc: In member function 'bool hfst_ospell::TreeNode::try_compatible_with(hfst_ospell::FlagDiacriticOperation)': ospell.cc:157:23: error: 'class hfst_ospell::FlagDiacriticOperation' has no member named 'Feature' 157 | flag_state[op.Feature()] = op.Value(); | ^~~~~~~ ospell.cc:161:23: error: 'class hfst_ospell::FlagDiacriticOperation' has no member named 'Feature' 161 | flag_state[op.Feature()] = -1*op.Value(); | ^~~~~~~ ospell.cc:166:35: error: 'class hfst_ospell::FlagDiacriticOperation' has no member named 'Feature' 166 | return (flag_state[op.Feature()] != 0); | ^~~~~~~ ospell.cc:168:31: error: 'class hfst_ospell::FlagDiacriticOperation' has no member named 'Feature' 168 | return (flag_state[op.Feature()] == op.Value()); | ^~~~~~~ ospell.cc:172:35: error: 'class hfst_ospell::FlagDiacriticOperation' has no member named 'Feature' 172 | return (flag_state[op.Feature()] == 0); | ^~~~~~~ ospell.cc:174:31: error: 'class hfst_ospell::FlagDiacriticOperation' has no member named 'Feature' 174 | return (flag_state[op.Feature()] != op.Value()); | ^~~~~~~ ospell.cc:177:23: error: 'class hfst_ospell::FlagDiacriticOperation' has no member named 'Feature' 177 | flag_state[op.Feature()] = 0; | ^~~~~~~ ospell.cc:183:27: error: 'class hfst_ospell::FlagDiacriticOperation' has no member named 'Feature' 183 | if (flag_state[op.Feature()] == 0 || | ^~~~~~~ ospell.cc:184:27: error: 'class hfst_ospell::FlagDiacriticOperation' has no member named 'Feature' 184 | flag_state[op.Feature()] == op.Value() || | ^~~~~~~ ospell.cc:185:28: error: 'class hfst_ospell::FlagDiacriticOperation' has no member named 'Feature' 185 | (flag_state[op.Feature()] < 0 && | ^~~~~~~ ospell.cc:186:29: error: 'class hfst_ospell::FlagDiacriticOperation' has no member named 'Feature' 186 | (flag_state[op.Feature()] * -1 != op.Value())) | ^~~~~~~ ospell.cc:188:27: error: 'class hfst_ospell::FlagDiacriticOperation' has no member named 'Feature' 188 | flag_state[op.Feature()] = op.Value(); | ^~~~~~~ hfst-ol.cc:250:42: error: 'read_uint32_flipping_endianness' was not declared in this scope; did you mean 'read_float_flipping_endianness'? 250 | size_of_transition_index_table = read_uint32_flipping_endianness(f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | read_float_flipping_endianness ospell.cc: In constructor 'hfst_ospell::Speller::Speller(hfst_ospell::Transducer*, hfst_ospell::Transducer*)': ospell.cc:202:38: error: 'get_state_size' was not declared in this scope 202 | next_node(FlagDiacriticState(get_state_size(), 0)), | ^~~~~~~~~~~~~~ hfst-ol.cc:251:9: error: 'size_of_transition_target_table' was not declared in this scope 251 | size_of_transition_target_table = read_uint32_flipping_endianness(f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ospell.cc: At global scope: ospell.cc:221:1: error: 'SymbolNumber' does not name a type 221 | SymbolNumber | ^~~~~~~~~~~~ ospell.cc: In member function 'void hfst_ospell::Speller::lexicon_epsilons()': ospell.cc:230:51: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 230 | if (!lexicon->has_epsilons_or_flags(next_node.lexicon_state + 1)) { | ^~~~~~~~~~~~~ hfst-ol.cc:252:9: error: 'number_of_states' was not declared in this scope 252 | number_of_states = read_uint32_flipping_endianness(f); | ^~~~~~~~~~~~~~~~ ospell.cc:233:5: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 233 | TransitionTableIndex next = lexicon->next(next_node.lexicon_state, 0); | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.cc:234:56: error: 'next' was not declared in this scope 234 | STransition i_s = lexicon->take_epsilons_and_flags(next); | ^~~~ ospell.cc:234:56: note: suggested alternatives: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_construct.h:62, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/char_traits.h:57, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/string:42, from ospell.h:20: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_iterator_base_funcs.h:232:5: note: 'std::next' 232 | next(_InputIterator __x, typename | ^~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/string_view:48, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/basic_string.h:47, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/string:54: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ranges_base.h:908:30: note: 'std::ranges::next' 908 | inline constexpr __next_fn next{}; | ^~~~ ospell.cc:236:16: error: 'struct hfst_ospell::STransition' has no member named 'symbol' 236 | while (i_s.symbol != NO_SYMBOL) { | ^~~~~~ hfst-ol.cc:253:9: error: 'number_of_transitions' was not declared in this scope 253 | number_of_transitions = read_uint32_flipping_endianness(f); | ^~~~~~~~~~~~~~~~~~~~~ ospell.cc:236:26: error: 'NO_SYMBOL' was not declared in this scope 236 | while (i_s.symbol != NO_SYMBOL) { | ^~~~~~~~~ ospell.cc:238:38: error: 'class hfst_ospell::TransitionTable' has no member named 'input_symbol' 238 | if (lexicon->transitions.input_symbol(next) == 0) { | ^~~~~~~~~~~~ ospell.cc:239:86: error: 'struct hfst_ospell::STransition' has no member named 'symbol' 239 | .push_back(next_node.update_lexicon((mode == Correct) ? 0 : i_s.symbol, | ^~~~~~ ospell.cc:240:62: error: 'struct hfst_ospell::STransition' has no member named 'index' 240 | i_s.index, | ^~~~~ ospell.cc:245:46: error: request for member 'operator[]' in '*((hfst_ospell::Speller*)this)->hfst_ospell::Speller::operations', which is of non-class type 'hfst_ospell::OperationMap' {aka 'int'} 245 | operations->operator[]( | ^ ospell.cc:246:50: error: 'class hfst_ospell::TransitionTable' has no member named 'input_symbol' 246 | lexicon->transitions.input_symbol(next)))) { | ^~~~~~~~~~~~ ospell.cc:248:66: error: 'struct hfst_ospell::STransition' has no member named 'index' 248 | i_s.index, | ^~~~~ ospell.cc: In member function 'void hfst_ospell::Speller::lexicon_consume()': ospell.cc:262:30: error: request for member 'size' in '((hfst_ospell::Speller*)this)->hfst_ospell::Speller::input', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 262 | if (input_state >= input.size()) { | ^~~~ hfst-ol.cc:257:20: error: 'number_of_input_symbols' was not declared in this scope 257 | if (fread(&number_of_input_symbols, | ^~~~~~~~~~~~~~~~~~~~~~~ ospell.cc:266:5: error: 'SymbolNumber' was not declared in this scope 266 | SymbolNumber this_input; | ^~~~~~~~~~~~ hfst-ol.cc:258:26: error: 'SymbolNumber' was not declared in this scope 258 | sizeof(SymbolNumber),1,f) != 1|| | ^~~~~~~~~~~~ ospell.cc:268:9: error: 'this_input' was not declared in this scope; did you mean 'init_input'? 268 | this_input = alphabet_translator[input[input_state]]; | ^~~~~~~~~~ | init_input ospell.cc:268:47: error: invalid types 'hfst_ospell::SymbolVector {aka int}[unsigned int]' for array subscript 268 | this_input = alphabet_translator[input[input_state]]; | ^ ospell.cc:272:9: error: 'this_input' was not declared in this scope; did you mean 'init_input'? 272 | this_input = input[input_state]; | ^~~~~~~~~~ | init_input ospell.cc:272:27: error: invalid types 'hfst_ospell::SymbolVector {aka int}[unsigned int]' for array subscript 272 | this_input = input[input_state]; | ^ ospell.cc:275:22: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 275 | next_node.lexicon_state + 1, this_input)) { | ^~~~~~~~~~~~~ hfst-ol.cc:259:20: error: 'number_of_symbols' was not declared in this scope 259 | fread(&number_of_symbols, | ^~~~~~~~~~~~~~~~~ ospell.cc:275:41: error: 'this_input' was not declared in this scope; did you mean 'init_input'? 275 | next_node.lexicon_state + 1, this_input)) { | ^~~~~~~~~~ | init_input ospell.cc:277:52: error: 'class hfst_ospell::TransducerAlphabet' has no member named 'get_orig_symbol_count' 277 | if (this_input >= lexicon->get_alphabet()->get_orig_symbol_count()) { | ^~~~~~~~~~~~~~~~~~~~~ ospell.cc:280:26: error: 'class hfst_ospell::Transducer' has no member named 'get_unknown' 280 | if (lexicon->get_unknown() != NO_SYMBOL && | ^~~~~~~~~~~ hfst-ol.cc:261:20: error: 'size_of_transition_index_table' was not declared in this scope 261 | fread(&size_of_transition_index_table, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ospell.h:27, from main.cc:40: hfst-ol.h:39:9: error: ‘uint16_t’ does not name a type 39 | typedef uint16_t SymbolNumber; | ^~~~~~~~ hfst-ol.h:35:1: note: ‘uint16_t’ is defined in header ‘’; did you forget to ‘#include ’? 34 | #include +++ |+#include 35 | #include "ol-exceptions.h" hfst-ol.h:40:9: error: ‘uint32_t’ does not name a type 40 | typedef uint32_t TransitionTableIndex; | ^~~~~~~~ hfst-ol.h:40:9: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’? ospell.cc:280:43: error: 'NO_SYMBOL' was not declared in this scope 280 | if (lexicon->get_unknown() != NO_SYMBOL && | ^~~~~~~~~ ospell.cc:281:52: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 281 | lexicon->has_transitions(next_node.lexicon_state + 1, | ^~~~~~~~~~~~~ ospell.cc:282:51: error: 'class hfst_ospell::Transducer' has no member named 'get_unknown' 282 | lexicon->get_unknown())) { | ^~~~~~~~~~~ ospell.cc:283:45: error: 'class hfst_ospell::Transducer' has no member named 'get_unknown' 283 | queue_lexicon_arcs(lexicon->get_unknown(), | ^~~~~~~~~~~ ospell.cc:284:46: error: 'struct hfst_ospell::TreeNode' has no member named 'mutator_state' 284 | next_node.mutator_state, | ^~~~~~~~~~~~~ ospell.cc:287:26: error: 'class hfst_ospell::Transducer' has no member named 'get_identity' 287 | if (lexicon->get_identity() != NO_SYMBOL && | ^~~~~~~~~~~~ hfst-ol.cc:262:26: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 262 | sizeof(TransitionTableIndex),1,f) != 1|| | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.cc:287:44: error: 'NO_SYMBOL' was not declared in this scope 287 | if (lexicon->get_identity() != NO_SYMBOL && | ^~~~~~~~~ ospell.cc:288:52: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 288 | lexicon->has_transitions(next_node.lexicon_state + 1, | ^~~~~~~~~~~~~ ospell.cc:289:51: error: 'class hfst_ospell::Transducer' has no member named 'get_identity' 289 | lexicon->get_identity())) { | ^~~~~~~~~~~~ ospell.cc:290:45: error: 'class hfst_ospell::Transducer' has no member named 'get_identity' 290 | queue_lexicon_arcs(lexicon->get_identity(), | ^~~~~~~~~~~~ ospell.cc:291:46: error: 'struct hfst_ospell::TreeNode' has no member named 'mutator_state' 291 | next_node.mutator_state, | ^~~~~~~~~~~~~ hfst-ol.h:41:21: error: ‘SymbolNumber’ was not declared in this scope 41 | typedef std::vector SymbolVector; | ^~~~~~~~~~~~ hfst-ol.h:41:33: error: template argument 1 is invalid 41 | typedef std::vector SymbolVector; | ^ hfst-ol.h:41:33: error: template argument 2 is invalid hfst-ol.cc:263:20: error: 'size_of_transition_target_table' was not declared in this scope 263 | fread(&size_of_transition_target_table, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ospell.cc:297:24: error: 'this_input' was not declared in this scope; did you mean 'init_input'? 297 | queue_lexicon_arcs(this_input, | ^~~~~~~~~~ | init_input ospell.cc:298:34: error: 'struct hfst_ospell::TreeNode' has no member named 'mutator_state' 298 | next_node.mutator_state, 0.0, 1); | ^~~~~~~~~~~~~ ospell.cc: At global scope: ospell.cc:301:6: error: variable or field 'queue_lexicon_arcs' declared void 301 | void Speller::queue_lexicon_arcs(SymbolNumber input_sym, | ^~~~~~~ hfst-ol.h:43:31: error: ‘SymbolNumber’ was not declared in this scope 43 | typedef std::map StringSymbolMap; | ^~~~~~~~~~~~ hfst-ol.h:43:43: error: template argument 2 is invalid 43 | typedef std::map StringSymbolMap; | ^ hfst-ol.h:43:43: error: template argument 4 is invalid ospell.cc:301:34: error: 'SymbolNumber' was not declared in this scope 301 | void Speller::queue_lexicon_arcs(SymbolNumber input_sym, | ^~~~~~~~~~~~ ospell.cc:302:34: error: expected primary-expression before 'unsigned' 302 | unsigned int mutator_state, | ^~~~~~~~ ospell.cc:303:41: error: expected primary-expression before 'mutator_weight' 303 | Weight mutator_weight, | ^~~~~~~~~~~~~~ ospell.cc:304:34: error: expected primary-expression before 'int' 304 | int input_increment) | ^~~ ospell.cc: In member function 'void hfst_ospell::Speller::mutator_epsilons()': ospell.cc:328:45: error: 'struct hfst_ospell::TreeNode' has no member named 'mutator_state' 328 | if (!mutator->has_transitions(next_node.mutator_state + 1, 0)) { | ^~~~~~~~~~~~~ hfst-ol.cc:265:20: error: 'number_of_states' was not declared in this scope 265 | fread(&number_of_states, | ^~~~~~~~~~~~~~~~ hfst-ol.h:55:18: error: ‘SymbolNumber’ was not declared in this scope 55 | typedef std::map OperationMap; | ^~~~~~~~~~~~ hfst-ol.h:55:54: error: template argument 1 is invalid 55 | typedef std::map OperationMap; | ^ hfst-ol.h:55:54: error: template argument 3 is invalid hfst-ol.h:55:54: error: template argument 4 is invalid ospell.cc:331:5: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 331 | TransitionTableIndex next_m = mutator->next(next_node.mutator_state, 0); | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.h:57:7: error: ‘SymbolNumber’ does not name a type 57 | const SymbolNumber NO_SYMBOL = USHRT_MAX; | ^~~~~~~~~~~~ hfst-ol.cc:267:20: error: 'number_of_transitions' was not declared in this scope 267 | fread(&number_of_transitions, | ^~~~~~~~~~~~~~~~~~~~~ ospell.cc:332:54: error: 'next_m' was not declared in this scope 332 | STransition mutator_i_s = mutator->take_epsilons(next_m); | ^~~~~~ ospell.cc:334:24: error: 'struct hfst_ospell::STransition' has no member named 'symbol' 334 | while (mutator_i_s.symbol != NO_SYMBOL) { | ^~~~~~ hfst-ol.h:58:7: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionIndex’? 58 | const TransitionTableIndex NO_TABLE_INDEX = UINT_MAX; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex ospell.cc:334:34: error: 'NO_SYMBOL' was not declared in this scope 334 | while (mutator_i_s.symbol != NO_SYMBOL) { | ^~~~~~~~~ ospell.cc:335:25: error: 'struct hfst_ospell::STransition' has no member named 'symbol' 335 | if (mutator_i_s.symbol == 0) { | ^~~~~~ ospell.cc:338:70: error: 'struct hfst_ospell::STransition' has no member named 'index' 338 | queue.push_back(next_node.update_mutator(mutator_i_s.index, | ^~~~~ hfst-ol.cc: In constructor 'hfst_ospell::TransducerHeader::TransducerHeader(char**)': hfst-ol.cc:296:9: error: 'number_of_input_symbols' was not declared in this scope 296 | number_of_input_symbols = read_uint16_flipping_endianness(*raw); | ^~~~~~~~~~~~~~~~~~~~~~~ ospell.cc:345:34: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 345 | next_node.lexicon_state + 1, | ^~~~~~~~~~~~~ ospell.cc:346:56: error: 'struct hfst_ospell::STransition' has no member named 'symbol' 346 | alphabet_translator[mutator_i_s.symbol])) { | ^~~~~~ ospell.cc:348:49: error: 'struct hfst_ospell::STransition' has no member named 'symbol' 348 | if (alphabet_translator[mutator_i_s.symbol] >= lexicon->get_alphabet()->get_orig_symbol_count()) { | ^~~~~~ ospell.cc:348:85: error: 'class hfst_ospell::TransducerAlphabet' has no member named 'get_orig_symbol_count' 348 | _translator[mutator_i_s.symbol] >= lexicon->get_alphabet()->get_orig_symbol_count()) { | ^~~~~~~~~~~~~~~~~~~~~ ospell.cc:351:30: error: 'class hfst_ospell::Transducer' has no member named 'get_unknown' 351 | if (lexicon->get_unknown() != NO_SYMBOL && | ^~~~~~~~~~~ ospell.cc:352:56: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 352 | lexicon->has_transitions(next_node.lexicon_state + 1, | ^~~~~~~~~~~~~ ospell.cc:353:55: error: 'class hfst_ospell::Transducer' has no member named 'get_unknown' 353 | lexicon->get_unknown())) { | ^~~~~~~~~~~ ospell.cc:354:49: error: 'class hfst_ospell::Transducer' has no member named 'get_unknown' 354 | queue_lexicon_arcs(lexicon->get_unknown(), | ^~~~~~~~~~~ ospell.cc:355:52: error: 'struct hfst_ospell::STransition' has no member named 'index' 355 | mutator_i_s.index, mutator_i_s.weight); | ^~~~~ ospell.cc:357:30: error: 'class hfst_ospell::Transducer' has no member named 'get_identity' 357 | if (lexicon->get_identity() != NO_SYMBOL && | ^~~~~~~~~~~~ ospell.cc:358:56: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 358 | lexicon->has_transitions(next_node.lexicon_state + 1, | ^~~~~~~~~~~~~ ospell.cc:359:55: error: 'class hfst_ospell::Transducer' has no member named 'get_identity' 359 | lexicon->get_identity())) { | ^~~~~~~~~~~~ ospell.cc:360:49: error: 'class hfst_ospell::Transducer' has no member named 'get_identity' 360 | queue_lexicon_arcs(lexicon->get_identity(), | ^~~~~~~~~~~~ ospell.cc:361:52: error: 'struct hfst_ospell::STransition' has no member named 'index' 361 | mutator_i_s.index, mutator_i_s.weight); | ^~~~~ ospell.cc:368:60: error: 'struct hfst_ospell::STransition' has no member named 'symbol' 368 | queue_lexicon_arcs(alphabet_translator[mutator_i_s.symbol], | ^~~~~~ ospell.cc:369:40: error: 'struct hfst_ospell::STransition' has no member named 'index' 369 | mutator_i_s.index, mutator_i_s.weight); | ^~~~~ ospell.cc: In member function 'void hfst_ospell::Speller::consume_input()': ospell.cc:386:40: error: request for member 'size' in '((hfst_ospell::Speller*)this)->hfst_ospell::Speller::input', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 386 | if (next_node.input_state >= input.size()) { | ^~~~ hfst-ol.h:59:51: error: ‘NO_TABLE_INDEX’ was not declared in this scope 59 | const Weight INFINITE_WEIGHT = static_cast(NO_TABLE_INDEX); | ^~~~~~~~~~~~~~ hfst-ol.cc:296:35: error: 'read_uint16_flipping_endianness' was not declared in this scope; did you mean 'read_float_flipping_endianness'? 296 | number_of_input_symbols = read_uint16_flipping_endianness(*raw); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | read_float_flipping_endianness hfst-ol.h:64:7: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionIndex’? 64 | const TransitionTableIndex TARGET_TABLE = 2147483648u; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:77:1: error: ‘uint16_t’ does not name a type 77 | uint16_t read_uint16_flipping_endianness(FILE * f); | ^~~~~~~~ hfst-ol.h:77:1: note: ‘uint16_t’ is defined in header ‘’; did you forget to ‘#include ’? hfst-ol.h:78:1: error: ‘uint16_t’ does not name a type 78 | uint16_t read_uint16_flipping_endianness(char * raw); | ^~~~~~~~ hfst-ol.h:78:1: note: ‘uint16_t’ is defined in header ‘’; did you forget to ‘#include ’? hfst-ol.h:79:1: error: ‘uint32_t’ does not name a type 79 | uint32_t read_uint32_flipping_endianness(char * raw); | ^~~~~~~~ hfst-ol.h:79:1: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’? ospell.cc:389:5: error: 'SymbolNumber' was not declared in this scope 389 | SymbolNumber input_sym = input[next_node.input_state]; | ^~~~~~~~~~~~ ospell.cc:390:45: error: 'struct hfst_ospell::TreeNode' has no member named 'mutator_state' 390 | if (!mutator->has_transitions(next_node.mutator_state + 1, | ^~~~~~~~~~~~~ hfst-ol.h:91:5: error: ‘SymbolNumber’ does not name a type 91 | SymbolNumber number_of_symbols; | ^~~~~~~~~~~~ hfst-ol.cc:297:26: error: 'SymbolNumber' was not declared in this scope 297 | (*raw) += sizeof(SymbolNumber); | ^~~~~~~~~~~~ ospell.cc:391:35: error: 'input_sym' was not declared in this scope 391 | input_sym)) { | ^~~~~~~~~ ospell.cc:393:51: error: 'class hfst_ospell::TransducerAlphabet' has no member named 'get_orig_symbol_count' 393 | if (input_sym >= mutator->get_alphabet()->get_orig_symbol_count()) { | ^~~~~~~~~~~~~~~~~~~~~ ospell.cc:396:26: error: 'class hfst_ospell::Transducer' has no member named 'get_identity' 396 | if (mutator->get_identity() != NO_SYMBOL && | ^~~~~~~~~~~~ hfst-ol.h:92:5: error: ‘SymbolNumber’ does not name a type 92 | SymbolNumber number_of_input_symbols; | ^~~~~~~~~~~~ hfst-ol.cc:298:9: error: 'number_of_symbols' was not declared in this scope 298 | number_of_symbols = read_uint16_flipping_endianness(*raw); | ^~~~~~~~~~~~~~~~~ hfst-ol.h:93:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionIndex’? 93 | TransitionTableIndex size_of_transition_index_table; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex ospell.cc:396:44: error: 'NO_SYMBOL' was not declared in this scope 396 | if (mutator->get_identity() != NO_SYMBOL && | ^~~~~~~~~ ospell.cc:397:52: error: 'struct hfst_ospell::TreeNode' has no member named 'mutator_state' 397 | mutator->has_transitions(next_node.mutator_state + 1, | ^~~~~~~~~~~~~ ospell.cc:398:51: error: 'class hfst_ospell::Transducer' has no member named 'get_identity' 398 | mutator->get_identity())) { | ^~~~~~~~~~~~ ospell.cc:399:45: error: 'class hfst_ospell::Transducer' has no member named 'get_identity' 399 | queue_mutator_arcs(mutator->get_identity()); | ^~~~~~~~~~~~ ospell.cc:401:26: error: 'class hfst_ospell::Transducer' has no member named 'get_unknown' 401 | if (mutator->get_unknown() != NO_SYMBOL && | ^~~~~~~~~~~ hfst-ol.h:94:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionIndex’? 94 | TransitionTableIndex size_of_transition_target_table; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex ospell.cc:401:43: error: 'NO_SYMBOL' was not declared in this scope 401 | if (mutator->get_unknown() != NO_SYMBOL && | ^~~~~~~~~ hfst-ol.cc:300:9: error: 'size_of_transition_index_table' was not declared in this scope 300 | size_of_transition_index_table = read_uint32_flipping_endianness(*raw); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ospell.cc:402:52: error: 'struct hfst_ospell::TreeNode' has no member named 'mutator_state' 402 | mutator->has_transitions(next_node.mutator_state + 1, | ^~~~~~~~~~~~~ ospell.cc:403:51: error: 'class hfst_ospell::Transducer' has no member named 'get_unknown' 403 | mutator->get_unknown())) { | ^~~~~~~~~~~ ospell.cc:404:45: error: 'class hfst_ospell::Transducer' has no member named 'get_unknown' 404 | queue_mutator_arcs(mutator->get_unknown()); | ^~~~~~~~~~~ ospell.cc: At global scope: ospell.cc:412:6: error: variable or field 'queue_mutator_arcs' declared void 412 | void Speller::queue_mutator_arcs(SymbolNumber input_sym) | ^~~~~~~ hfst-ol.h:96:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionIndex’? 96 | TransitionTableIndex number_of_states; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex ospell.cc:412:34: error: 'SymbolNumber' was not declared in this scope 412 | void Speller::queue_mutator_arcs(SymbolNumber input_sym) | ^~~~~~~~~~~~ ospell.cc: In member function 'bool hfst_ospell::Transducer::initialize_input_vector(hfst_ospell::SymbolVector&, hfst_ospell::Encoder*, char*)': ospell.cc:466:18: error: request for member 'clear' in 'input_vector', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 466 | input_vector.clear(); | ^~~~~ hfst-ol.h:97:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionIndex’? 97 | TransitionTableIndex number_of_transitions; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.cc:300:42: error: 'read_uint32_flipping_endianness' was not declared in this scope; did you mean 'read_float_flipping_endianness'? 300 | size_of_transition_index_table = read_uint32_flipping_endianness(*raw); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | read_float_flipping_endianness hfst-ol.h:123:5: error: ‘SymbolNumber’ does not name a type 123 | SymbolNumber symbol_count(void); | ^~~~~~~~~~~~ ospell.cc:469:9: error: 'SymbolNumber' was not declared in this scope 469 | SymbolNumber k = encoder->find_key(inpointer); | ^~~~~~~~~~~~ hfst-ol.cc:301:26: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 301 | (*raw) += sizeof(TransitionTableIndex); | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.h:126:5: error: ‘SymbolNumber’ does not name a type 126 | SymbolNumber input_symbol_count(void); | ^~~~~~~~~~~~ ospell.cc:470:13: error: 'k' was not declared in this scope 470 | if (k == NO_SYMBOL) { // no tokenization from alphabet | ^ hfst-ol.h:129:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionIndex’? 129 | TransitionTableIndex index_table_size(void); | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.cc:302:9: error: 'size_of_transition_target_table' was not declared in this scope 302 | size_of_transition_target_table = read_uint32_flipping_endianness(*raw); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hfst-ol.h:132:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionIndex’? 132 | TransitionTableIndex target_table_size(void); | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex ospell.cc:470:18: error: 'NO_SYMBOL' was not declared in this scope 470 | if (k == NO_SYMBOL) { // no tokenization from alphabet | ^~~~~~~~~ ospell.cc:475:22: error: request for member 'push_back' in 'input_vector', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 475 | input_vector.push_back(k); | ^~~~~~~~~ hfst-ol.h:145:11: error: ‘SymbolNumber’ does not name a type 145 | const SymbolNumber feature; | ^~~~~~~~~~~~ hfst-ol.cc:304:9: error: 'number_of_states' was not declared in this scope 304 | number_of_states = read_uint32_flipping_endianness(*raw); | ^~~~~~~~~~~~~~~~ hfst-ol.h:151:34: error: ‘SymbolNumber’ does not name a type 151 | const SymbolNumber feat, | ^~~~~~~~~~~~ ospell.cc:475:32: error: 'k' was not declared in this scope 475 | input_vector.push_back(k); | ^ hfst-ol.h:167:5: error: ‘SymbolNumber’ does not name a type 167 | SymbolNumber Feature(void) const; | ^~~~~~~~~~~~ hfst-ol.h: In constructor ‘hfst_ospell::FlagDiacriticOperation::FlagDiacriticOperation(hfst_ospell::FlagDiacriticOperator, int, hfst_ospell::ValueNumber)’: hfst-ol.h:153:24: error: class ‘hfst_ospell::FlagDiacriticOperation’ does not have any field named ‘feature’ 153 | operation(op), feature(feat), value(val) {} | ^~~~~~~ hfst-ol.h: In constructor ‘hfst_ospell::FlagDiacriticOperation::FlagDiacriticOperation()’: hfst-ol.h:157:23: error: class ‘hfst_ospell::FlagDiacriticOperation’ does not have any field named ‘feature’ 157 | operation(P), feature(NO_SYMBOL), value(0) {} | ^~~~~~~ hfst-ol.cc:306:9: error: 'number_of_transitions' was not declared in this scope 306 | number_of_transitions = read_uint32_flipping_endianness(*raw); | ^~~~~~~~~~~~~~~~~~~~~ hfst-ol.h:157:31: error: ‘NO_SYMBOL’ was not declared in this scope 157 | operation(P), feature(NO_SYMBOL), value(0) {} | ^~~~~~~~~ hfst-ol.cc:309:9: error: 'number_of_input_symbols' was not declared in this scope 309 | number_of_input_symbols = *(SymbolNumber*) *raw; | ^~~~~~~~~~~~~~~~~~~~~~~ hfst-ol.cc:309:37: error: 'SymbolNumber' was not declared in this scope 309 | number_of_input_symbols = *(SymbolNumber*) *raw; | ^~~~~~~~~~~~ hfst-ol.cc:309:50: error: expected primary-expression before ')' token 309 | number_of_input_symbols = *(SymbolNumber*) *raw; | ^ hfst-ol.h: At global scope: hfst-ol.h:182:5: error: ‘SymbolNumber’ does not name a type 182 | SymbolNumber unknown_symbol; | ^~~~~~~~~~~~ ospell.cc: In member function 'hfst_ospell::AnalysisQueue hfst_ospell::Transducer::lookup(char*)': ospell.cc:497:44: error: request for member 'size' in 'input', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 497 | if (next_node.input_state == input.size() && | ^~~~ ospell.cc:498:32: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 498 | is_final(next_node.lexicon_state)) { | ^~~~~~~~~~~~~ ospell.cc:500:40: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 500 | final_weight(next_node.lexicon_state); | ^~~~~~~~~~~~~ hfst-ol.h:183:5: error: ‘SymbolNumber’ does not name a type 183 | SymbolNumber identity_symbol; | ^~~~~~~~~~~~ hfst-ol.cc:311:9: error: 'number_of_symbols' was not declared in this scope 311 | number_of_symbols = *(SymbolNumber*) *raw; | ^~~~~~~~~~~~~~~~~ hfst-ol.cc:311:44: error: expected primary-expression before ')' token 311 | number_of_symbols = *(SymbolNumber*) *raw; | ^ hfst-ol.h:184:5: error: ‘SymbolNumber’ does not name a type 184 | SymbolNumber flag_state_size; | ^~~~~~~~~~~~ hfst-ol.h:185:5: error: ‘SymbolNumber’ does not name a type 185 | SymbolNumber orig_symbol_count; | ^~~~~~~~~~~~ hfst-ol.h:189:25: error: ‘SymbolNumber’ has not been declared 189 | void read(FILE * f, SymbolNumber number_of_symbols); | ^~~~~~~~~~~~ hfst-ol.h:190:28: error: ‘SymbolNumber’ has not been declared 190 | void read(char ** raw, SymbolNumber number_of_symbols); | ^~~~~~~~~~~~ hfst-ol.h:195:33: error: ‘SymbolNumber’ has not been declared 195 | TransducerAlphabet(FILE *f, SymbolNumber number_of_symbols); | ^~~~~~~~~~~~ hfst-ol.h:198:37: error: ‘SymbolNumber’ has not been declared 198 | TransducerAlphabet(char ** raw, SymbolNumber number_of_symbols); | ^~~~~~~~~~~~ ospell.cc:510:9: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 510 | TransitionTableIndex next_index; | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.cc:512:45: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 512 | if (has_epsilons_or_flags(next_node.lexicon_state + 1)) { | ^~~~~~~~~~~~~ hfst-ol.cc:313:9: error: 'size_of_transition_index_table' was not declared in this scope 313 | size_of_transition_index_table = *(TransitionTableIndex*) *raw; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hfst-ol.h:210:5: error: ‘SymbolNumber’ does not name a type 210 | SymbolNumber get_state_size(void); | ^~~~~~~~~~~~ hfst-ol.h:213:5: error: ‘SymbolNumber’ does not name a type 213 | SymbolNumber get_unknown(void) const; | ^~~~~~~~~~~~ hfst-ol.cc:313:44: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 313 | size_of_transition_index_table = *(TransitionTableIndex*) *raw; | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:313:65: error: expected primary-expression before ')' token 313 | size_of_transition_index_table = *(TransitionTableIndex*) *raw; | ^ ospell.cc:513:13: error: 'next_index' was not declared in this scope; did you mean 'next_node'? 513 | next_index = next(next_node.lexicon_state, 0); | ^~~~~~~~~~ | next_node ospell.cc:513:41: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 513 | next_index = next(next_node.lexicon_state, 0); | ^~~~~~~~~~~~~ hfst-ol.h:214:5: error: ‘SymbolNumber’ does not name a type 214 | SymbolNumber get_identity(void) const; | ^~~~~~~~~~~~ ospell.cc:513:26: error: 'next' was not declared in this scope 513 | next_index = next(next_node.lexicon_state, 0); | ^~~~ ospell.cc:513:26: note: suggested alternatives: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_iterator_base_funcs.h:232:5: note: 'std::next' 232 | next(_InputIterator __x, typename | ^~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ranges_base.h:908:30: note: 'std::ranges::next' 908 | inline constexpr __next_fn next{}; | ^~~~ ospell.cc:515:24: error: 'struct hfst_ospell::STransition' has no member named 'symbol' 515 | while (i_s.symbol != NO_SYMBOL) { | ^~~~~~ hfst-ol.h:216:5: error: ‘SymbolNumber’ does not name a type 216 | SymbolNumber get_orig_symbol_count(void) const; | ^~~~~~~~~~~~ hfst-ol.h:223:18: error: ‘SymbolNumber’ has not been declared 223 | bool is_flag(SymbolNumber symbol); | ^~~~~~~~~~~~ ospell.cc:515:34: error: 'NO_SYMBOL' was not declared in this scope 515 | while (i_s.symbol != NO_SYMBOL) { | ^~~~~~~~~ hfst-ol.cc:315:9: error: 'size_of_transition_target_table' was not declared in this scope 315 | size_of_transition_target_table = *(TransitionTableIndex*) *raw; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ospell.cc:516:33: error: 'class hfst_ospell::TransitionTable' has no member named 'input_symbol' 516 | if (transitions.input_symbol(next_index) == 0) { | ^~~~~~~~~~~~ hfst-ol.cc:315:66: error: expected primary-expression before ')' token 315 | size_of_transition_target_table = *(TransitionTableIndex*) *raw; | ^ ospell.cc:517:66: error: 'struct hfst_ospell::STransition' has no member named 'symbol' 517 | queue.push_back(next_node.update_lexicon(i_s.symbol, | ^~~~~~ ospell.cc:518:66: error: 'struct hfst_ospell::STransition' has no member named 'index' 518 | i_s.index, | ^~~~~ hfst-ol.h:245:36: error: ‘SymbolNumber’ has not been declared 245 | void add_string(const char * p,SymbolNumber symbol_key); | ^~~~~~~~~~~~ ospell.cc:524:56: error: request for member 'operator[]' in '*((hfst_ospell::Transducer*)this)->hfst_ospell::Transducer::get_operations()', which is of non-class type 'hfst_ospell::OperationMap' {aka 'int'} 524 | get_operations()->operator[]( | ^ ospell.cc:525:45: error: 'class hfst_ospell::TransitionTable' has no member named 'input_symbol' 525 | transitions.input_symbol(next_index)))) { | ^~~~~~~~~~~~ ospell.cc:526:70: error: 'struct hfst_ospell::STransition' has no member named 'symbol' 526 | queue.push_back(next_node.update_lexicon(i_s.symbol, | ^~~~~~ ospell.cc:527:70: error: 'struct hfst_ospell::STransition' has no member named 'index' 527 | i_s.index, | ^~~~~ ospell.cc:539:33: error: request for member 'size' in 'input', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 539 | if (input_state < input.size() && | ^~~~ ospell.cc:541:27: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 541 | next_node.lexicon_state + 1, input[input_state])) { | ^~~~~~~~~~~~~ ospell.cc:541:51: error: invalid types 'hfst_ospell::SymbolVector {aka int}[unsigned int]' for array subscript 541 | next_node.lexicon_state + 1, input[input_state])) { | ^ hfst-ol.h:248:5: error: ‘SymbolNumber’ does not name a type 248 | SymbolNumber find_key(char ** p); | ^~~~~~~~~~~~ hfst-ol.cc:317:9: error: 'number_of_states' was not declared in this scope 317 | number_of_states = *(TransitionTableIndex*) *raw; | ^~~~~~~~~~~~~~~~ hfst-ol.cc:317:51: error: expected primary-expression before ')' token 317 | number_of_states = *(TransitionTableIndex*) *raw; | ^ ospell.cc:543:13: error: 'next_index' was not declared in this scope; did you mean 'next_node'? 543 | next_index = next(next_node.lexicon_state, | ^~~~~~~~~~ | next_node ospell.cc:543:41: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 543 | next_index = next(next_node.lexicon_state, | ^~~~~~~~~~~~~ ospell.cc:544:36: error: invalid types 'hfst_ospell::SymbolVector {aka int}[unsigned int]' for array subscript 544 | input[input_state]); | ^ ospell.cc:543:26: error: 'next' was not declared in this scope 543 | next_index = next(next_node.lexicon_state, | ^~~~ ospell.cc:543:26: note: suggested alternatives: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_iterator_base_funcs.h:232:5: note: 'std::next' 232 | next(_InputIterator __x, typename | ^~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ranges_base.h:908:30: note: 'std::ranges::next' 908 | inline constexpr __next_fn next{}; | ^~~~ ospell.cc:546:54: error: invalid types 'hfst_ospell::SymbolVector {aka int}[unsigned int]' for array subscript 546 | input[input_state]); | ^ ospell.cc:548:24: error: 'struct hfst_ospell::STransition' has no member named 'symbol' 548 | while (i_s.symbol != NO_SYMBOL) { | ^~~~~~ hfst-ol.cc:319:9: error: 'number_of_transitions' was not declared in this scope 319 | number_of_transitions = *(TransitionTableIndex*) *raw; | ^~~~~~~~~~~~~~~~~~~~~ hfst-ol.cc:319:56: error: expected primary-expression before ')' token 319 | number_of_transitions = *(TransitionTableIndex*) *raw; | ^ ospell.cc:548:34: error: 'NO_SYMBOL' was not declared in this scope 548 | while (i_s.symbol != NO_SYMBOL) { | ^~~~~~~~~ ospell.cc:550:41: error: 'struct hfst_ospell::STransition' has no member named 'symbol' 550 | i_s.symbol, | ^~~~~~ ospell.cc:552:47: error: 'struct hfst_ospell::TreeNode' has no member named 'mutator_state' 552 | next_node.mutator_state, | ^~~~~~~~~~~~~ ospell.cc:553:41: error: 'struct hfst_ospell::STransition' has no member named 'index' 553 | i_s.index, | ^~~~~ ospell.cc:557:58: error: invalid types 'hfst_ospell::SymbolVector {aka int}[unsigned int]' for array subscript 557 | i_s = take_non_epsilons(next_index, input[input_state]); | ^ hfst-ol.h: In constructor ‘hfst_ospell::LetterTrie::LetterTrie()’: hfst-ol.h:241:25: error: ‘NO_SYMBOL’ was not declared in this scope 241 | symbols(UCHAR_MAX+1,NO_SYMBOL) | ^~~~~~~~~ hfst-ol.h:241:5: error: expression list treated as compound expression in mem-initializer [-fpermissive] 241 | symbols(UCHAR_MAX+1,NO_SYMBOL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hfst-ol.h: At global scope: hfst-ol.h:262:44: error: ‘SymbolNumber’ has not been declared 262 | void read_input_symbols(KeyTable * kt, SymbolNumber number_of_input_symbols); | ^~~~~~~~~~~~ hfst-ol.h:267:28: error: ‘SymbolNumber’ has not been declared 267 | Encoder(KeyTable * kt, SymbolNumber number_of_input_symbols); | ^~~~~~~~~~~~ hfst-ol.cc: At global scope: hfst-ol.cc:341:1: error: 'SymbolNumber' does not name a type 341 | SymbolNumber | ^~~~~~~~~~~~ hfst-ol.cc:347:1: error: 'SymbolNumber' does not name a type 347 | SymbolNumber | ^~~~~~~~~~~~ hfst-ol.cc:352:1: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 352 | TransitionTableIndex | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:358:1: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 358 | TransitionTableIndex | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.h:268:5: error: ‘SymbolNumber’ does not name a type 268 | SymbolNumber find_key(char ** p); | ^~~~~~~~~~~~ ospell.cc: At global scope: ospell.cc:571:1: error: 'bool hfst_ospell::Transducer::final_transition' is not a static data member of 'class hfst_ospell::Transducer' 571 | Transducer::final_transition(TransitionTableIndex i) | ^~~~~~~~~~ hfst-ol.h:281:5: error: ‘SymbolNumber’ does not name a type 281 | SymbolNumber input_symbol; //!< transition's input symbol | ^~~~~~~~~~~~ hfst-ol.cc: In member function 'bool hfst_ospell::FlagDiacriticOperation::isFlag() const': hfst-ol.cc:393:12: error: 'feature' was not declared in this scope 393 | return feature != NO_SYMBOL; | ^~~~~~~ hfst-ol.h:282:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionIndex’? 282 | TransitionTableIndex first_transition_index; //!< first transition location | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex ospell.cc:571:30: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 571 | Transducer::final_transition(TransitionTableIndex i) | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.cc:577:1: error: 'bool hfst_ospell::Transducer::final_index' is not a static data member of 'class hfst_ospell::Transducer' 577 | Transducer::final_index(TransitionTableIndex i) | ^~~~~~~~~~ hfst-ol.cc:393:23: error: 'NO_SYMBOL' was not declared in this scope 393 | return feature != NO_SYMBOL; | ^~~~~~~~~ hfst-ol.cc: At global scope: hfst-ol.cc:402:1: error: 'SymbolNumber' does not name a type 402 | SymbolNumber | ^~~~~~~~~~~~ hfst-ol.cc:416:41: error: 'SymbolNumber' has not been declared 416 | void TransducerAlphabet::read(FILE * f, SymbolNumber number_of_symbols) | ^~~~~~~~~~~~ ospell.cc:577:25: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 577 | Transducer::final_index(TransitionTableIndex i) | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.cc:588:1: error: 'SymbolNumber' does not name a type 588 | SymbolNumber | ^~~~~~~~~~~~ ospell.cc: In member function 'unsigned int hfst_ospell::Transducer::get_state_size()': ospell.cc:603:21: error: 'class hfst_ospell::TransducerAlphabet' has no member named 'get_state_size' 603 | return alphabet.get_state_size(); | ^~~~~~~~~~~~~~ hfst-ol.h:289:16: error: ‘SymbolNumber’ was not declared in this scope 289 | sizeof(SymbolNumber) + sizeof(TransitionTableIndex); | ^~~~~~~~~~~~ hfst-ol.cc: In member function 'void hfst_ospell::TransducerAlphabet::read(FILE*, int)': hfst-ol.cc:419:27: error: 'SymbolNumber' was not declared in this scope 419 | std::map feature_bucket; | ^~~~~~~~~~~~ hfst-ol.cc:419:39: error: template argument 2 is invalid 419 | std::map feature_bucket; | ^ ospell.cc: At global scope: ospell.cc:606:1: error: 'SymbolNumber' does not name a type 606 | SymbolNumber | ^~~~~~~~~~~~ hfst-ol.cc:419:39: error: template argument 4 is invalid ospell.cc:612:1: error: 'SymbolNumber' does not name a type 612 | SymbolNumber | ^~~~~~~~~~~~ ospell.cc:630:1: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 630 | TransitionTableIndex Transducer::next(const TransitionTableIndex i, | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.cc:640:40: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 640 | bool Transducer::has_transitions(const TransitionTableIndex i, | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.cc:641:40: error: 'SymbolNumber' does not name a type 641 | const SymbolNumber symbol) const | ^~~~~~~~~~~~ hfst-ol.h:289:39: error: ‘TransitionTableIndex’ was not declared in this scope; did you mean ‘TransitionIndex’? 289 | sizeof(SymbolNumber) + sizeof(TransitionTableIndex); | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex ospell.cc: In member function 'bool hfst_ospell::Transducer::has_transitions(int, int) const': ospell.cc:643:19: error: 'NO_SYMBOL' was not declared in this scope 643 | if (symbol == NO_SYMBOL) { | ^~~~~~~~~ hfst-ol.h:293:27: error: ‘SymbolNumber’ does not name a type 293 | TransitionIndex(const SymbolNumber input, | ^~~~~~~~~~~~ hfst-ol.cc:423:17: error: expected ';' before 'feat_num' 423 | SymbolNumber feat_num = 0; | ^~~~~~~~~ | ; hfst-ol.cc:434:22: error: expected ';' before 'k' 434 | for (SymbolNumber k = 1; k < number_of_symbols; ++k) { | ^~ | ; ospell.cc:646:14: error: 'TARGET_TABLE' was not declared in this scope 646 | if (i >= TARGET_TABLE) { | ^~~~~~~~~~~~ ospell.cc:647:29: error: 'const class hfst_ospell::TransitionTable' has no member named 'input_symbol' 647 | return (transitions.input_symbol(i - TARGET_TABLE) == symbol); | ^~~~~~~~~~~~ ospell.cc:649:25: error: 'const class hfst_ospell::IndexTable' has no member named 'input_symbol' 649 | return (indices.input_symbol(i+symbol) == symbol); | ^~~~~~~~~~~~ hfst-ol.h:294:27: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionIndex’? 294 | const TransitionTableIndex first_transition): | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex ospell.cc: At global scope: ospell.cc:653:46: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 653 | bool Transducer::has_epsilons_or_flags(const TransitionTableIndex i) | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.h:300:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionIndex’? 300 | TransitionTableIndex target(void) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.cc:434:30: error: 'k' was not declared in this scope; did you mean 'kt'? 434 | for (SymbolNumber k = 1; k < number_of_symbols; ++k) { | ^ | kt ospell.cc: In member function 'bool hfst_ospell::Transducer::has_epsilons_or_flags(int)': ospell.cc:655:14: error: 'TARGET_TABLE' was not declared in this scope 655 | if (i >= TARGET_TABLE) { | ^~~~~~~~~~~~ ospell.cc:656:28: error: 'class hfst_ospell::TransitionTable' has no member named 'input_symbol' 656 | return(transitions.input_symbol(i - TARGET_TABLE) == 0|| | ^~~~~~~~~~~~ ospell.cc:657:36: error: 'class hfst_ospell::TransitionTable' has no member named 'input_symbol' 657 | is_flag(transitions.input_symbol(i - TARGET_TABLE))); | ^~~~~~~~~~~~ ospell.cc:659:25: error: 'class hfst_ospell::IndexTable' has no member named 'input_symbol' 659 | return (indices.input_symbol(i) == 0); | ^~~~~~~~~~~~ hfst-ol.h:309:5: error: ‘SymbolNumber’ does not name a type 309 | SymbolNumber get_input(void) const; | ^~~~~~~~~~~~ hfst-ol.h: In constructor ‘hfst_ospell::TransitionIndex::TransitionIndex(int, int)’: hfst-ol.h:295:9: error: class ‘hfst_ospell::TransitionIndex’ does not have any field named ‘input_symbol’ 295 | input_symbol(input), | ^~~~~~~~~~~~ hfst-ol.h:296:9: error: class ‘hfst_ospell::TransitionIndex’ does not have any field named ‘first_transition_index’ 296 | first_transition_index(first_transition) | ^~~~~~~~~~~~~~~~~~~~~~ ospell.cc: At global scope: ospell.cc:663:50: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 663 | bool Transducer::has_non_epsilons_or_flags(const TransitionTableIndex i) | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:464:36: error: request for member 'count' in 'feature_bucket', which is of non-class type 'int' 464 | if (feature_bucket.count(feat) == 0) | ^~~~~ hfst-ol.cc:466:35: error: no match for 'operator[]' (operand types are 'int' and 'std::string' {aka 'std::__cxx11::basic_string'}) 466 | feature_bucket[feat] = feat_num; | ^ hfst-ol.h: At global scope: hfst-ol.h:318:5: error: ‘SymbolNumber’ does not name a type 318 | SymbolNumber input_symbol; //!< input symbol | ^~~~~~~~~~~~ ospell.cc: In member function 'bool hfst_ospell::Transducer::has_non_epsilons_or_flags(int)': ospell.cc:665:14: error: 'TARGET_TABLE' was not declared in this scope 665 | if (i >= TARGET_TABLE) { | ^~~~~~~~~~~~ hfst-ol.h:319:5: error: ‘SymbolNumber’ does not name a type 319 | SymbolNumber output_symbol; //!< output symbol | ^~~~~~~~~~~~ hfst-ol.cc:466:44: error: 'feat_num' was not declared in this scope 466 | feature_bucket[feat] = feat_num; | ^~~~~~~~ hfst-ol.cc:475:28: error: request for member 'insert' in '((hfst_ospell::TransducerAlphabet*)this)->hfst_ospell::TransducerAlphabet::operations', which is of non-class type 'hfst_ospell::OperationMap' {aka 'int'} 475 | operations.insert( | ^~~~~~ hfst-ol.cc:479:47: error: no match for 'operator[]' (operand types are 'int' and 'std::string' {aka 'std::__cxx11::basic_string'}) 479 | op, feature_bucket[feat], value_bucket[val]))); | ^ hfst-ol.h:320:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionIndex’? 320 | TransitionTableIndex target_index; //!< location of target of transition | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex ospell.cc:666:9: error: 'SymbolNumber' was not declared in this scope 666 | SymbolNumber this_input = transitions.input_symbol(i - TARGET_TABLE); | ^~~~~~~~~~~~ ospell.cc:667:17: error: 'this_input' was not declared in this scope 667 | return((this_input != 0 && this_input != NO_SYMBOL) && | ^~~~~~~~~~ hfst-ol.cc:485:17: error: 'unknown_symbol' was not declared in this scope 485 | unknown_symbol = k; | ^~~~~~~~~~~~~~ hfst-ol.h:328:20: error: ‘SymbolNumber’ was not declared in this scope 328 | 2 * sizeof(SymbolNumber) + sizeof(TransitionTableIndex) + sizeof(Weight); | ^~~~~~~~~~~~ ospell.cc:667:50: error: 'NO_SYMBOL' was not declared in this scope 667 | return((this_input != 0 && this_input != NO_SYMBOL) && | ^~~~~~~~~ hfst-ol.cc:489:17: error: 'identity_symbol' was not declared in this scope 489 | identity_symbol = k; | ^~~~~~~~~~~~~~~ hfst-ol.cc:498:25: error: no match for 'operator[]' (operand types are 'hfst_ospell::StringSymbolMap' {aka 'int'} and 'std::string' {aka 'std::__cxx11::basic_string'}) 498 | string_to_symbol[std::string(line)] = k; | ^ ospell.cc:670:9: error: 'SymbolNumber' was not declared in this scope 670 | SymbolNumber max_symbol = static_cast(get_key_table()->size()); | ^~~~~~~~~~~~ ospell.cc:671:26: error: expected ';' before 'sym' 671 | for (SymbolNumber sym = 1; sym < max_symbol; ++sym) { | ^~~~ | ; hfst-ol.h:328:43: error: ‘TransitionTableIndex’ was not declared in this scope; did you mean ‘TransitionIndex’? 328 | 2 * sizeof(SymbolNumber) + sizeof(TransitionTableIndex) + sizeof(Weight); | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex ospell.cc:671:42: error: 'max_symbol' was not declared in this scope 671 | for (SymbolNumber sym = 1; sym < max_symbol; ++sym) { | ^~~~~~~~~~ hfst-ol.cc:501:5: error: 'flag_state_size' was not declared in this scope 501 | flag_state_size = static_cast(feature_bucket.size()); | ^~~~~~~~~~~~~~~ hfst-ol.h:332:22: error: ‘SymbolNumber’ does not name a type 332 | Transition(const SymbolNumber input, | ^~~~~~~~~~~~ hfst-ol.cc:501:35: error: 'SymbolNumber' does not name a type 501 | flag_state_size = static_cast(feature_bucket.size()); | ^~~~~~~~~~~~ hfst-ol.cc:501:64: error: request for member 'size' in 'feature_bucket', which is of non-class type 'int' 501 | flag_state_size = static_cast(feature_bucket.size()); | ^~~~ hfst-ol.cc: At global scope: hfst-ol.cc:504:44: error: 'SymbolNumber' has not been declared 504 | void TransducerAlphabet::read(char ** raw, SymbolNumber number_of_symbols) | ^~~~~~~~~~~~ ospell.cc:671:36: error: 'sym' was not declared in this scope 671 | for (SymbolNumber sym = 1; sym < max_symbol; ++sym) { | ^~~ ospell.cc:672:25: error: 'class hfst_ospell::IndexTable' has no member named 'input_symbol' 672 | if (indices.input_symbol(i + sym) == sym) { | ^~~~~~~~~~~~ hfst-ol.h:333:22: error: ‘SymbolNumber’ does not name a type 333 | const SymbolNumber output, | ^~~~~~~~~~~~ ospell.cc: At global scope: ospell.cc:680:45: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 680 | STransition Transducer::take_epsilons(const TransitionTableIndex i) const | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.cc: In member function 'hfst_ospell::STransition hfst_ospell::Transducer::take_epsilons(int) const': ospell.cc:682:21: error: 'const class hfst_ospell::TransitionTable' has no member named 'input_symbol' 682 | if (transitions.input_symbol(i) != 0) { | ^~~~~~~~~~~~ hfst-ol.cc: In member function 'void hfst_ospell::TransducerAlphabet::read(char**, int)': hfst-ol.cc:506:27: error: 'SymbolNumber' was not declared in this scope 506 | std::map feature_bucket; | ^~~~~~~~~~~~ hfst-ol.cc:506:39: error: template argument 2 is invalid 506 | std::map feature_bucket; | ^ hfst-ol.cc:506:39: error: template argument 4 is invalid hfst-ol.h:334:22: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionIndex’? 334 | const TransitionTableIndex target, | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.cc:510:17: error: expected ';' before 'feat_num' 510 | SymbolNumber feat_num = 0; | ^~~~~~~~~ | ; hfst-ol.cc:515:22: error: expected ';' before 'k' 515 | for (SymbolNumber k = 1; k < number_of_symbols; ++k) { | ^~ | ; ospell.cc:683:31: error: 'NO_SYMBOL' was not declared in this scope 683 | return STransition(0, NO_SYMBOL); | ^~~~~~~~~ ospell.cc:685:36: error: 'const class hfst_ospell::TransitionTable' has no member named 'target' 685 | return STransition(transitions.target(i), | ^~~~~~ ospell.cc:686:36: error: 'const class hfst_ospell::TransitionTable' has no member named 'output_symbol' 686 | transitions.output_symbol(i), | ^~~~~~~~~~~~~ ospell.cc: At global scope: ospell.cc:690:55: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 690 | STransition Transducer::take_epsilons_and_flags(const TransitionTableIndex i) | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.cc: In member function 'hfst_ospell::STransition hfst_ospell::Transducer::take_epsilons_and_flags(int)': ospell.cc:692:21: error: 'class hfst_ospell::TransitionTable' has no member named 'input_symbol' 692 | if (transitions.input_symbol(i) != 0 && | ^~~~~~~~~~~~ ospell.cc:693:30: error: 'class hfst_ospell::TransitionTable' has no member named 'input_symbol' 693 | !is_flag(transitions.input_symbol(i))) { | ^~~~~~~~~~~~ hfst-ol.h:351:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionIndex’? 351 | TransitionTableIndex target(void) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.cc:515:30: error: 'k' was not declared in this scope; did you mean 'kt'? 515 | for (SymbolNumber k = 1; k < number_of_symbols; ++k) { | ^ | kt hfst-ol.cc:537:36: error: request for member 'count' in 'feature_bucket', which is of non-class type 'int' 537 | if (feature_bucket.count(feat) == 0) | ^~~~~ hfst-ol.cc:539:35: error: no match for 'operator[]' (operand types are 'int' and 'std::string' {aka 'std::__cxx11::basic_string'}) 539 | feature_bucket[feat] = feat_num; | ^ hfst-ol.h:354:5: error: ‘SymbolNumber’ does not name a type 354 | SymbolNumber get_output(void) const; | ^~~~~~~~~~~~ ospell.cc:694:31: error: 'NO_SYMBOL' was not declared in this scope 694 | return STransition(0, NO_SYMBOL); | ^~~~~~~~~ ospell.cc:696:36: error: 'class hfst_ospell::TransitionTable' has no member named 'target' 696 | return STransition(transitions.target(i), | ^~~~~~ ospell.cc:697:36: error: 'class hfst_ospell::TransitionTable' has no member named 'output_symbol' 697 | transitions.output_symbol(i), | ^~~~~~~~~~~~~ hfst-ol.h:357:5: error: ‘SymbolNumber’ does not name a type 357 | SymbolNumber get_input(void) const; | ^~~~~~~~~~~~ hfst-ol.h: In constructor ‘hfst_ospell::Transition::Transition(int, int, int, hfst_ospell::Weight)’: hfst-ol.h:336:9: error: class ‘hfst_ospell::Transition’ does not have any field named ‘input_symbol’ 336 | input_symbol(input), | ^~~~~~~~~~~~ hfst-ol.h:337:9: error: class ‘hfst_ospell::Transition’ does not have any field named ‘output_symbol’ 337 | output_symbol(output), | ^~~~~~~~~~~~~ hfst-ol.h:338:9: error: class ‘hfst_ospell::Transition’ does not have any field named ‘target_index’ 338 | target_index(target), | ^~~~~~~~~~~~ hfst-ol.h: In constructor ‘hfst_ospell::Transition::Transition()’: hfst-ol.h:343:9: error: class ‘hfst_ospell::Transition’ does not have any field named ‘input_symbol’ 343 | input_symbol(NO_SYMBOL), | ^~~~~~~~~~~~ ospell.cc: At global scope: ospell.cc:701:49: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 701 | STransition Transducer::take_non_epsilons(const TransitionTableIndex i, | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:539:44: error: 'feat_num' was not declared in this scope 539 | feature_bucket[feat] = feat_num; | ^~~~~~~~ hfst-ol.cc:548:28: error: request for member 'insert' in '((hfst_ospell::TransducerAlphabet*)this)->hfst_ospell::TransducerAlphabet::operations', which is of non-class type 'hfst_ospell::OperationMap' {aka 'int'} 548 | operations.insert( | ^~~~~~ hfst-ol.cc:552:47: error: no match for 'operator[]' (operand types are 'int' and 'std::string' {aka 'std::__cxx11::basic_string'}) 552 | op, feature_bucket[feat], value_bucket[val]))); | ^ ospell.cc:702:49: error: 'SymbolNumber' does not name a type 702 | const SymbolNumber symbol) const | ^~~~~~~~~~~~ ospell.cc: In member function 'hfst_ospell::STransition hfst_ospell::Transducer::take_non_epsilons(int, int) const': ospell.cc:704:21: error: 'const class hfst_ospell::TransitionTable' has no member named 'input_symbol' 704 | if (transitions.input_symbol(i) != symbol) { | ^~~~~~~~~~~~ ospell.cc:705:31: error: 'NO_SYMBOL' was not declared in this scope 705 | return STransition(0, NO_SYMBOL); | ^~~~~~~~~ ospell.cc:707:36: error: 'const class hfst_ospell::TransitionTable' has no member named 'target' 707 | return STransition(transitions.target(i), | ^~~~~~ ospell.cc:708:36: error: 'const class hfst_ospell::TransitionTable' has no member named 'output_symbol' 708 | transitions.output_symbol(i), | ^~~~~~~~~~~~~ hfst-ol.h:343:22: error: ‘NO_SYMBOL’ was not declared in this scope 343 | input_symbol(NO_SYMBOL), | ^~~~~~~~~ hfst-ol.h:344:9: error: class ‘hfst_ospell::Transition’ does not have any field named ‘output_symbol’ 344 | output_symbol(NO_SYMBOL), | ^~~~~~~~~~~~~ hfst-ol.h:345:9: error: class ‘hfst_ospell::Transition’ does not have any field named ‘target_index’ 345 | target_index(NO_TABLE_INDEX), | ^~~~~~~~~~~~ ospell.cc: At global scope: ospell.cc:712:33: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 712 | bool Transducer::is_final(const TransitionTableIndex i) | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:559:17: error: 'unknown_symbol' was not declared in this scope 559 | unknown_symbol = k; | ^~~~~~~~~~~~~~ ospell.cc: In member function 'bool hfst_ospell::Transducer::is_final(int)': ospell.cc:714:14: error: 'TARGET_TABLE' was not declared in this scope 714 | if (i >= TARGET_TABLE) { | ^~~~~~~~~~~~ ospell.cc: At global scope: ospell.cc:721:39: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 721 | Weight Transducer::final_weight(const TransitionTableIndex i) const | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:564:17: error: 'identity_symbol' was not declared in this scope 564 | identity_symbol = k; | ^~~~~~~~~~~~~~~ hfst-ol.cc:575:25: error: no match for 'operator[]' (operand types are 'hfst_ospell::StringSymbolMap' {aka 'int'} and 'std::string' {aka 'std::__cxx11::basic_string'}) 575 | string_to_symbol[std::string(*raw)] = k; | ^ hfst-ol.h:345:22: error: ‘NO_TABLE_INDEX’ was not declared in this scope 345 | target_index(NO_TABLE_INDEX), | ^~~~~~~~~~~~~~ ospell.cc: In member function 'hfst_ospell::Weight hfst_ospell::Transducer::final_weight(int) const': ospell.cc:723:14: error: 'TARGET_TABLE' was not declared in this scope 723 | if (i >= TARGET_TABLE) { | ^~~~~~~~~~~~ ospell.cc: At global scope: ospell.cc:731:27: error: 'SymbolNumber' does not name a type 731 | Transducer::is_flag(const SymbolNumber symbol) | ^~~~~~~~~~~~ hfst-ol.h: At global scope: hfst-ol.h:373:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionIndex’? 373 | TransitionTableIndex size; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:375:15: error: ‘TransitionTableIndex’ has not been declared 375 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:377:15: error: ‘TransitionTableIndex’ has not been declared 377 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:384:16: error: ‘TransitionTableIndex’ has not been declared 384 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:388:16: error: ‘TransitionTableIndex’ has not been declared 388 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.cc:578:5: error: 'flag_state_size' was not declared in this scope 578 | flag_state_size = static_cast(feature_bucket.size()); | ^~~~~~~~~~~~~~~ hfst-ol.h:392:5: error: ‘SymbolNumber’ does not name a type 392 | SymbolNumber input_symbol(TransitionTableIndex i) const; | ^~~~~~~~~~~~ ospell.cc: In member function 'hfst_ospell::AnalysisQueue hfst_ospell::Speller::analyse(char*, int)': ospell.cc:752:44: error: 'get_state_size' was not declared in this scope 752 | TreeNode start_node(FlagDiacriticState(get_state_size(), 0)); | ^~~~~~~~~~~~~~ ospell.cc:758:44: error: request for member 'size' in '((hfst_ospell::Speller*)this)->hfst_ospell::Speller::input', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 758 | if (next_node.input_state == input.size() && | ^~~~ ospell.cc:759:41: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 759 | lexicon->is_final(next_node.lexicon_state)) { | ^~~~~~~~~~~~~ ospell.cc:761:49: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 761 | lexicon->final_weight(next_node.lexicon_state); | ^~~~~~~~~~~~~ hfst-ol.h:395:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionIndex’? 395 | TransitionTableIndex target(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.h:398:16: error: ‘TransitionTableIndex’ has not been declared 398 | bool final(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:401:25: error: ‘TransitionTableIndex’ has not been declared 401 | Weight final_weight(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:413:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’? 413 | TransitionTableIndex size; | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.h:418:15: error: ‘TransitionTableIndex’ has not been declared 418 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:421:15: error: ‘TransitionTableIndex’ has not been declared 421 | TransitionTableIndex number_of_table_entries); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:427:21: error: ‘TransitionTableIndex’ has not been declared 427 | TransitionTableIndex transition_count); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:431:21: error: ‘TransitionTableIndex’ has not been declared 431 | TransitionTableIndex transition_count); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:436:5: error: ‘SymbolNumber’ does not name a type 436 | SymbolNumber input_symbol(TransitionTableIndex i) const; | ^~~~~~~~~~~~ hfst-ol.h:439:5: error: ‘SymbolNumber’ does not name a type 439 | SymbolNumber output_symbol(TransitionTableIndex i) const; | ^~~~~~~~~~~~ hfst-ol.h:442:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’? 442 | TransitionTableIndex target(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.h:445:19: error: ‘TransitionTableIndex’ has not been declared 445 | Weight weight(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.h:448:16: error: ‘TransitionTableIndex’ has not been declared 448 | bool final(TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.cc:578:35: error: 'SymbolNumber' does not name a type 578 | flag_state_size = static_cast(feature_bucket.size()); | ^~~~~~~~~~~~ hfst-ol.cc:578:64: error: request for member 'size' in 'feature_bucket', which is of non-class type 'int' 578 | flag_state_size = static_cast(feature_bucket.size()); | ^~~~ hfst-ol.cc: At global scope: hfst-ol.cc:581:49: error: 'SymbolNumber' has not been declared 581 | TransducerAlphabet::TransducerAlphabet(FILE* f, SymbolNumber number_of_symbols): | ^~~~~~~~~~~~ hfst-ol.cc: In constructor 'hfst_ospell::TransducerAlphabet::TransducerAlphabet(FILE*, int)': hfst-ol.cc:582:5: error: class 'hfst_ospell::TransducerAlphabet' does not have any field named 'unknown_symbol' 582 | unknown_symbol(NO_SYMBOL), | ^~~~~~~~~~~~~~ ospell.h:46:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’? 46 | TransitionTableIndex index; //!< index to transition | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:55, from ZHfstOspeller.cc:27: /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:247:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 247 | std::auto_ptr<_xmlSAXHandler> sax_handler_; | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/memory:78, from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/unique_ptr.h:66:28: note: declared here 66 | template class auto_ptr; | ^~~~~~~~ In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:56: /usr/include/libxml++-2.6/libxml++/parsers/textreader.h:300:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 300 | std::auto_ptr propertyreader; | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/unique_ptr.h:66:28: note: declared here 66 | template class auto_ptr; | ^~~~~~~~ ospell.h:47:5: error: ‘SymbolNumber’ does not name a type 47 | SymbolNumber symbol; //!< symbol of transition | ^~~~~~~~~~~~ ospell.h:52:37: error: expected ‘)’ before ‘i’ 52 | STransition(TransitionTableIndex i, | ~ ^~ | ) ospell.h:60:37: error: expected ‘)’ before ‘i’ 60 | STransition(TransitionTableIndex i, | ~ ^~ | ) In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:71: /usr/include/libxml++-2.6/libxml++/relaxngschema.h:116:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 116 | std::auto_ptr pimpl_; | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/unique_ptr.h:66:28: note: declared here 66 | template class auto_ptr; | ^~~~~~~~ hfst-ol.cc:582:20: error: 'NO_SYMBOL' was not declared in this scope 582 | unknown_symbol(NO_SYMBOL), | ^~~~~~~~~ hfst-ol.cc:583:5: error: class 'hfst_ospell::TransducerAlphabet' does not have any field named 'identity_symbol' 583 | identity_symbol(NO_SYMBOL), | ^~~~~~~~~~~~~~~ hfst-ol.cc:584:5: error: class 'hfst_ospell::TransducerAlphabet' does not have any field named 'orig_symbol_count' 584 | orig_symbol_count(number_of_symbols) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:72: /usr/include/libxml++-2.6/libxml++/xsdschema.h:107:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 107 | std::auto_ptr pimpl_; | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/unique_ptr.h:66:28: note: declared here 66 | template class auto_ptr; | ^~~~~~~~ ospell.cc: In member function 'hfst_ospell::AnalysisSymbolsQueue hfst_ospell::Speller::analyseSymbols(char*, int)': ospell.cc:790:44: error: 'get_state_size' was not declared in this scope 790 | TreeNode start_node(FlagDiacriticState(get_state_size(), 0)); | ^~~~~~~~~~~~~~ ospell.cc:796:44: error: request for member 'size' in '((hfst_ospell::Speller*)this)->hfst_ospell::Speller::input', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 796 | if (next_node.input_state == input.size() && | ^~~~ ospell.cc:797:41: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 797 | lexicon->is_final(next_node.lexicon_state)) { | ^~~~~~~~~~~~~ ospell.cc:799:49: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 799 | lexicon->final_weight(next_node.lexicon_state); | ^~~~~~~~~~~~~ hfst-ol.cc: At global scope: hfst-ol.cc:590:40: error: 'SymbolNumber' has not been declared 590 | SymbolNumber number_of_symbols): | ^~~~~~~~~~~~ hfst-ol.cc: In constructor 'hfst_ospell::TransducerAlphabet::TransducerAlphabet(char**, int)': hfst-ol.cc:591:5: error: class 'hfst_ospell::TransducerAlphabet' does not have any field named 'unknown_symbol' 591 | unknown_symbol(NO_SYMBOL), | ^~~~~~~~~~~~~~ In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:75: /usr/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:172:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 172 | std::auto_ptr pimpl_; | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/unique_ptr.h:66:28: note: declared here 66 | template class auto_ptr; | ^~~~~~~~ In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:77: /usr/include/libxml++-2.6/libxml++/validators/xsdvalidator.h:162:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 162 | std::auto_ptr pimpl_; | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/unique_ptr.h:66:28: note: declared here 66 | template class auto_ptr; | ^~~~~~~~ ospell.cc: At global scope: ospell.cc:820:6: error: variable or field 'build_cache' declared void 820 | void Speller::build_cache(SymbolNumber first_sym) | ^~~~~~~ hfst-ol.cc:591:20: error: 'NO_SYMBOL' was not declared in this scope 591 | unknown_symbol(NO_SYMBOL), | ^~~~~~~~~ hfst-ol.cc:592:5: error: class 'hfst_ospell::TransducerAlphabet' does not have any field named 'identity_symbol' 592 | identity_symbol(NO_SYMBOL), | ^~~~~~~~~~~~~~~ hfst-ol.cc:593:5: error: class 'hfst_ospell::TransducerAlphabet' does not have any field named 'orig_symbol_count' 593 | orig_symbol_count(number_of_symbols) | ^~~~~~~~~~~~~~~~~ hfst-ol.cc: In member function 'void hfst_ospell::TransducerAlphabet::add_symbol(std::string&)': hfst-ol.cc:600:21: error: no match for 'operator[]' (operand types are 'hfst_ospell::StringSymbolMap' {aka 'int'} and 'std::string' {aka 'std::__cxx11::basic_string'}) 600 | string_to_symbol[sym] = static_cast(kt.size()); | ^ ospell.cc:820:27: error: 'SymbolNumber' was not declared in this scope 820 | void Speller::build_cache(SymbolNumber first_sym) | ^~~~~~~~~~~~ hfst-ol.cc:600:41: error: 'SymbolNumber' does not name a type 600 | string_to_symbol[sym] = static_cast(kt.size()); | ^~~~~~~~~~~~ hfst-ol.cc: At global scope: hfst-ol.cc:622:1: error: 'SymbolNumber' does not name a type 622 | SymbolNumber | ^~~~~~~~~~~~ hfst-ol.cc:628:1: error: 'SymbolNumber' does not name a type 628 | SymbolNumber | ^~~~~~~~~~~~ hfst-ol.cc:634:1: error: 'SymbolNumber' does not name a type 634 | SymbolNumber | ^~~~~~~~~~~~ hfst-ol.cc:640:1: error: 'SymbolNumber' does not name a type 640 | SymbolNumber TransducerAlphabet::get_orig_symbol_count() const | ^~~~~~~~~~~~ hfst-ol.cc: In member function 'bool hfst_ospell::TransducerAlphabet::has_string(const std::string&) const': hfst-ol.cc:653:29: error: request for member 'count' in '((const hfst_ospell::TransducerAlphabet*)this)->hfst_ospell::TransducerAlphabet::string_to_symbol', which is of non-class type 'const hfst_ospell::StringSymbolMap' {aka 'const int'} 653 | return string_to_symbol.count(s) != 0; | ^~~~~ ospell.cc: In member function 'hfst_ospell::CorrectionQueue hfst_ospell::Speller::correct(char*, int, hfst_ospell::Weight, hfst_ospell::Weight, float)': ospell.cc:890:5: error: 'SymbolNumber' was not declared in this scope 890 | SymbolNumber first_input = (input.size() == 0) ? 0 : input[0]; | ^~~~~~~~~~~~ hfst-ol.cc: At global scope: hfst-ol.cc:657:1: error: 'bool hfst_ospell::TransducerAlphabet::is_flag' is not a static data member of 'class hfst_ospell::TransducerAlphabet' 657 | TransducerAlphabet::is_flag(SymbolNumber symbol) | ^~~~~~~~~~~~~~~~~~ ospell.cc:891:15: error: 'first_input' was not declared in this scope; did you mean 'init_input'? 891 | if (cache[first_input].empty) { | ^~~~~~~~~~~ | init_input ospell.cc:894:15: error: request for member 'size' in '((hfst_ospell::Speller*)this)->hfst_ospell::Speller::input', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 894 | if (input.size() <= 1) { | ^~~~ hfst-ol.cc:657:29: error: 'SymbolNumber' was not declared in this scope 657 | TransducerAlphabet::is_flag(SymbolNumber symbol) | ^~~~~~~~~~~~ hfst-ol.cc:663:23: error: 'TransitionTableIndex' has not been declared 663 | TransitionTableIndex number_of_table_entries) | ^~~~~~~~~~~~~~~~~~~~ ospell.cc:897:19: error: request for member 'size' in '((hfst_ospell::Speller*)this)->hfst_ospell::Speller::input', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 897 | if (input.size() == 0) { | ^~~~ hfst-ol.cc:676:23: error: 'TransitionTableIndex' has not been declared 676 | TransitionTableIndex number_of_table_entries) | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.cc: In member function 'void hfst_ospell::IndexTable::convert_to_big_endian()': hfst-ol.cc:692:27: error: 'size' was not declared in this scope 692 | for(size_t i = 0; i < size; ++i) { | ^~~~ hfst-ol.cc:692:27: note: suggested alternatives: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/vector:69, from hfst-ol.h:26: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/range_access.h:274:5: note: 'std::size' 274 | size(const _Tp (&)[_Nm]) noexcept | ^~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ranges_util.h:34, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/tuple:44, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/uses_allocator_args.h:38, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/memory_resource.h:41, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/vector:80: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ranges_base.h:575:43: note: 'std::ranges::__cust::size' 575 | inline constexpr __cust_access::_Size size{}; | ^~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ranges_base.h:374:10: note: 'std::ranges::__cust_access::size' 374 | void size(const auto&) = delete; | ^~~~ hfst-ol.cc: At global scope: hfst-ol.cc:702:28: error: 'TransitionTableIndex' has not been declared 702 | TransitionTableIndex number_of_table_entries) | ^~~~~~~~~~~~~~~~~~~~ ospell.cc:898:30: error: 'first_input' was not declared in this scope; did you mean 'init_input'? 898 | results = &cache[first_input].results_len_0; | ^~~~~~~~~~~ | init_input ospell.h:195:18: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’? 195 | static const TransitionTableIndex START_INDEX = 0; //!< position of first | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.h:215:27: error: ‘TransitionTableIndex’ has not been declared 215 | bool final_transition(TransitionTableIndex i); | ^~~~~~~~~~~~~~~~~~~~ ospell.h:218:22: error: ‘TransitionTableIndex’ has not been declared 218 | bool final_index(TransitionTableIndex i); | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.cc:715:28: error: 'TransitionTableIndex' has not been declared 715 | TransitionTableIndex number_of_table_entries) | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.cc: In member function 'void hfst_ospell::TransitionTable::convert_to_big_endian()': hfst-ol.cc:731:27: error: 'size' was not declared in this scope 731 | for(size_t i = 0; i < size; ++i) { | ^~~~ hfst-ol.cc:731:27: note: suggested alternatives: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/range_access.h:274:5: note: 'std::size' 274 | size(const _Tp (&)[_Nm]) noexcept | ^~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ranges_base.h:575:43: note: 'std::ranges::__cust::size' 575 | inline constexpr __cust_access::_Size size{}; | ^~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ranges_base.h:374:10: note: 'std::ranges::__cust_access::size' 374 | void size(const auto&) = delete; | ^~~~ hfst-ol.cc: At global scope: hfst-ol.cc:744:45: error: 'SymbolNumber' has not been declared 744 | void LetterTrie::add_string(const char * p, SymbolNumber symbol_key) | ^~~~~~~~~~~~ hfst-ol.cc: In member function 'void hfst_ospell::LetterTrie::add_string(const char*, int)': hfst-ol.cc:748:16: error: invalid types 'hfst_ospell::SymbolVector {aka int}[unsigned char]' for array subscript 748 | symbols[(unsigned char)(*p)] = symbol_key; | ^ ospell.cc:900:30: error: 'first_input' was not declared in this scope; did you mean 'init_input'? 900 | results = &cache[first_input].results_len_1; | ^~~~~~~~~~~ | init_input ospell.h:224:5: error: ‘SymbolNumber’ does not name a type 224 | SymbolNumber find_next_key(char ** p); | ^~~~~~~~~~~~ hfst-ol.cc: At global scope: hfst-ol.cc:758:1: error: 'SymbolNumber' does not name a type 758 | SymbolNumber LetterTrie::find_key(char ** p) | ^~~~~~~~~~~~ hfst-ol.cc:788:33: error: 'SymbolNumber' has not been declared 788 | Encoder::Encoder(KeyTable * kt, SymbolNumber number_of_input_symbols): | ^~~~~~~~~~~~ ospell.h:233:5: error: ‘SymbolNumber’ does not name a type 233 | SymbolNumber get_unknown(void) const; | ^~~~~~~~~~~~ ospell.h:234:5: error: ‘SymbolNumber’ does not name a type 234 | SymbolNumber get_identity(void) const; | ^~~~~~~~~~~~ ospell.cc:929:28: error: 'first_input' was not declared in this scope; did you mean 'init_input'? 929 | queue.assign(cache[first_input].nodes.begin(), cache[first_input].nodes.end()); | ^~~~~~~~~~~ | init_input ospell.cc:962:44: error: request for member 'size' in '((hfst_ospell::Speller*)this)->hfst_ospell::Speller::input', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 962 | if (next_node.input_state == input.size()) { | ^~~~ ospell.cc:966:46: error: 'struct hfst_ospell::TreeNode' has no member named 'mutator_state' 966 | if (!mutator->is_final(next_node.mutator_state)) { | ^~~~~~~~~~~~~ ospell.cc:968:46: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 968 | if (!lexicon->is_final(next_node.lexicon_state)) { | ^~~~~~~~~~~~~ ospell.cc:970:45: error: 'struct hfst_ospell::TreeNode' has no member named 'mutator_state' 970 | if (mutator->is_final(next_node.mutator_state) && | ^~~~~~~~~~~~~ ospell.cc:971:45: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 971 | lexicon->is_final(next_node.lexicon_state)) { | ^~~~~~~~~~~~~ ospell.cc:973:53: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 973 | lexicon->final_weight(next_node.lexicon_state) + | ^~~~~~~~~~~~~ ospell.cc:974:53: error: 'struct hfst_ospell::TreeNode' has no member named 'mutator_state' 974 | mutator->final_weight(next_node.mutator_state); | ^~~~~~~~~~~~~ hfst-ol.cc: In constructor 'hfst_ospell::Encoder::Encoder(hfst_ospell::KeyTable*, int)': hfst-ol.cc:789:31: error: 'NO_SYMBOL' was not declared in this scope 789 | ascii_symbols(UCHAR_MAX+1,NO_SYMBOL) | ^~~~~~~~~ hfst-ol.cc:789:5: error: expression list treated as compound expression in mem-initializer [-fpermissive] 789 | ascii_symbols(UCHAR_MAX+1,NO_SYMBOL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hfst-ol.cc: In member function 'void hfst_ospell::Encoder::read_input_symbol(const char*, int)': hfst-ol.cc:804:22: error: invalid types 'hfst_ospell::SymbolVector {aka int}[unsigned char]' for array subscript 804 | ascii_symbols[(unsigned char)(*s)] = static_cast(s_num); | ^ ospell.h:243:37: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’? 243 | STransition take_epsilons(const TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:804:58: error: 'SymbolNumber' does not name a type 804 | ascii_symbols[(unsigned char)(*s)] = static_cast(s_num); | ^~~~~~~~~~~~ hfst-ol.cc:806:29: error: invalid types 'hfst_ospell::SymbolVector {aka int}[unsigned char]' for array subscript 806 | ascii_symbols[(unsigned char)(*s)] != NO_SYMBOL) { | ^ ospell.h:246:47: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’? 246 | STransition take_epsilons_and_flags(const TransitionTableIndex i); | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:806:54: error: 'NO_SYMBOL' was not declared in this scope 806 | ascii_symbols[(unsigned char)(*s)] != NO_SYMBOL) { | ^~~~~~~~~ ospell.h:249:41: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’? 249 | STransition take_non_epsilons(const TransitionTableIndex i, | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:808:22: error: invalid types 'hfst_ospell::SymbolVector {aka int}[unsigned char]' for array subscript 808 | ascii_symbols[(unsigned char)(*s)] = NO_SYMBOL; | ^ hfst-ol.cc:811:39: error: 'SymbolNumber' does not name a type 811 | letters.add_string(s, static_cast(s_num)); | ^~~~~~~~~~~~ ospell.cc: In member function 'bool hfst_ospell::Speller::check(char*)': ospell.cc:1081:44: error: 'get_state_size' was not declared in this scope 1081 | TreeNode start_node(FlagDiacriticState(get_state_size(), 0)); | ^~~~~~~~~~~~~~ ospell.cc:1088:44: error: request for member 'size' in '((hfst_ospell::Speller*)this)->hfst_ospell::Speller::input', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 1088 | if (next_node.input_state == input.size() && | ^~~~ ospell.cc:1089:41: error: 'struct hfst_ospell::TreeNode' has no member named 'lexicon_state' 1089 | lexicon->is_final(next_node.lexicon_state)) { | ^~~~~~~~~~~~~ hfst-ol.cc: At global scope: hfst-ol.cc:820:34: error: 'SymbolNumber' has not been declared 820 | SymbolNumber number_of_input_symbols) | ^~~~~~~~~~~~ ospell.h:250:41: error: ‘SymbolNumber’ does not name a type 250 | const SymbolNumber symbol) const; | ^~~~~~~~~~~~ ospell.cc: In function 'std::string hfst_ospell::stringify(KeyTable*, SymbolVector&)': ospell.cc:1102:21: error: 'begin' was not declared in this scope 1102 | for (auto& it : symbol_vector) { | ^~~~~~~~~~~~~ ospell.cc:1102:21: note: suggested alternatives: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/string:53: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/range_access.h:114:37: note: 'std::begin' 114 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ranges_base.h:567:44: note: 'std::ranges::__cust::begin' 567 | inline constexpr __cust_access::_Begin begin{}; | ^~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_iterator_base_types.h:71, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_construct.h:61: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/iterator_concepts.h:969:10: note: 'std::ranges::__cust_access::begin' 969 | void begin(const auto&) = delete; | ^~~~~ ospell.cc:1102:21: error: 'end' was not declared in this scope 1102 | for (auto& it : symbol_vector) { | ^~~~~~~~~~~~~ ospell.h:253:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’? 253 | TransitionTableIndex next(const TransitionTableIndex i, | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.cc:1102:21: note: suggested alternatives: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/range_access.h:116:37: note: 'std::end' 116 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ranges_base.h:568:42: note: 'std::ranges::__cust::end' 568 | inline constexpr __cust_access::_End end{}; | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ranges_base.h:137:10: note: 'std::ranges::__cust_access::end' 137 | void end(const auto&) = delete; | ^~~ hfst-ol.cc: In member function 'void hfst_ospell::Encoder::read_input_symbols(hfst_ospell::KeyTable*, int)': hfst-ol.cc:822:10: error: 'SymbolNumber' was not declared in this scope 822 | for (SymbolNumber k = 0; k < number_of_input_symbols; ++k) | ^~~~~~~~~~~~ ospell.cc: In function 'std::vector > hfst_ospell::symbolify(KeyTable*, SymbolVector&)': ospell.cc:1114:21: error: 'begin' was not declared in this scope 1114 | for (auto& it : symbol_vector) { | ^~~~~~~~~~~~~ ospell.cc:1114:21: note: suggested alternatives: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/range_access.h:114:37: note: 'std::begin' 114 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ranges_base.h:567:44: note: 'std::ranges::__cust::begin' 567 | inline constexpr __cust_access::_Begin begin{}; | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/iterator_concepts.h:969:10: note: 'std::ranges::__cust_access::begin' 969 | void begin(const auto&) = delete; | ^~~~~ ospell.cc:1114:21: error: 'end' was not declared in this scope 1114 | for (auto& it : symbol_vector) { | ^~~~~~~~~~~~~ ospell.cc:1114:21: note: suggested alternatives: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/range_access.h:116:37: note: 'std::end' 116 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ranges_base.h:568:42: note: 'std::ranges::__cust::end' 568 | inline constexpr __cust_access::_End end{}; | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ranges_base.h:137:10: note: 'std::ranges::__cust_access::end' 137 | void end(const auto&) = delete; | ^~~ ospell.cc: In member function 'void hfst_ospell::Speller::build_alphabet_translator()': ospell.cc:1128:25: error: request for member 'push_back' in '((hfst_ospell::Speller*)this)->hfst_ospell::Speller::alphabet_translator', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 1128 | alphabet_translator.push_back(0); // zeroth element is always epsilon | ^~~~~~~~~ ospell.h:257:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’? 257 | TransitionTableIndex next_e(const TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:822:30: error: 'k' was not declared in this scope 822 | for (SymbolNumber k = 0; k < number_of_input_symbols; ++k) | ^ hfst-ol.cc: At global scope: hfst-ol.cc:829:1: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 829 | TransitionTableIndex | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.h:260:32: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’? 260 | bool has_transitions(const TransitionTableIndex i, | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.cc:1129:10: error: 'SymbolNumber' was not declared in this scope 1129 | for (SymbolNumber i = 1; i < from_keys->size(); ++i) { | ^~~~~~~~~~~~ ospell.cc:1129:50: error: the value of 'from_keys' is not usable in a constant expression 1129 | for (SymbolNumber i = 1; i < from_keys->size(); ++i) { | ^ ospell.cc:1126:16: note: 'from_keys' was not declared 'constexpr' 1126 | KeyTable * from_keys = from->get_key_table(); | ^~~~~~~~~ ospell.cc:1129:50: error: the value of 'from_keys' is not usable in a constant expression 1129 | for (SymbolNumber i = 1; i < from_keys->size(); ++i) { | ^ ospell.cc:1126:16: note: 'from_keys' was not declared 'constexpr' 1126 | KeyTable * from_keys = from->get_key_table(); | ^~~~~~~~~ ospell.cc:1129:50: error: the value of 'from_keys' is not usable in a constant expression 1129 | for (SymbolNumber i = 1; i < from_keys->size(); ++i) { | ^ ospell.cc:1126:16: note: 'from_keys' was not declared 'constexpr' 1126 | KeyTable * from_keys = from->get_key_table(); | ^~~~~~~~~ ospell.cc:1129:50: error: the value of 'from_keys' is not usable in a constant expression 1129 | for (SymbolNumber i = 1; i < from_keys->size(); ++i) { | ^ ospell.cc:1126:16: note: 'from_keys' was not declared 'constexpr' 1126 | KeyTable * from_keys = from->get_key_table(); | ^~~~~~~~~ ospell.cc:1129:50: error: the value of 'from_keys' is not usable in a constant expression 1129 | for (SymbolNumber i = 1; i < from_keys->size(); ++i) { | ^ ospell.cc:1126:16: note: 'from_keys' was not declared 'constexpr' 1126 | KeyTable * from_keys = from->get_key_table(); | ^~~~~~~~~ ospell.cc:1129:50: error: the value of 'from_keys' is not usable in a constant expression 1129 | for (SymbolNumber i = 1; i < from_keys->size(); ++i) { | ^ ospell.cc:1126:16: note: 'from_keys' was not declared 'constexpr' 1126 | KeyTable * from_keys = from->get_key_table(); | ^~~~~~~~~ ospell.cc:1129:50: error: the value of 'from_keys' is not usable in a constant expression 1129 | for (SymbolNumber i = 1; i < from_keys->size(); ++i) { | ^ ospell.cc:1126:16: note: 'from_keys' was not declared 'constexpr' 1126 | KeyTable * from_keys = from->get_key_table(); | ^~~~~~~~~ ospell.cc:1129:50: error: the value of 'from_keys' is not usable in a constant expression 1129 | for (SymbolNumber i = 1; i < from_keys->size(); ++i) { | ^ ospell.cc:1126:16: note: 'from_keys' was not declared 'constexpr' 1126 | KeyTable * from_keys = from->get_key_table(); | ^~~~~~~~~ ospell.cc:1129:50: error: the value of 'from_keys' is not usable in a constant expression 1129 | for (SymbolNumber i = 1; i < from_keys->size(); ++i) { | ^ ospell.cc:1126:16: note: 'from_keys' was not declared 'constexpr' 1126 | KeyTable * from_keys = from->get_key_table(); | ^~~~~~~~~ ospell.h:261:32: error: ‘SymbolNumber’ does not name a type 261 | const SymbolNumber symbol) const; | ^~~~~~~~~~~~ hfst-ol.cc: In member function 'bool hfst_ospell::TransitionIndex::final() const': hfst-ol.cc:838:12: error: 'input_symbol' was not declared in this scope 838 | return input_symbol == NO_SYMBOL && | ^~~~~~~~~~~~ ospell.h:264:38: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’? 264 | bool has_epsilons_or_flags(const TransitionTableIndex i); | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.cc:1129:30: error: 'i' was not declared in this scope 1129 | for (SymbolNumber i = 1; i < from_keys->size(); ++i) { | ^ ospell.cc:1130:25: error: request for member 'count' in '* to_symbols', which is of non-class type 'hfst_ospell::StringSymbolMap' {aka 'int'} 1130 | if (to_symbols->count(from_keys->operator[](i)) != 1) { | ^~~~~ ospell.cc:1134:25: error: expected ';' before 'lexicon_key' 1134 | SymbolNumber lexicon_key = static_cast(lexicon->get_key_table()->size()); | ^~~~~~~~~~~~ | ; ospell.h:267:42: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’? 267 | bool has_non_epsilons_or_flags(const TransitionTableIndex i); | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:838:28: error: 'NO_SYMBOL' was not declared in this scope 838 | return input_symbol == NO_SYMBOL && | ^~~~~~~~~ ospell.cc:1135:60: error: 'lexicon_key' was not declared in this scope; did you mean 'lexicon'? 1135 | lexicon->get_encoder()->read_input_symbol(sym, lexicon_key); | ^~~~~~~~~~~ | lexicon ospell.cc:1137:33: error: request for member 'push_back' in '((hfst_ospell::Speller*)this)->hfst_ospell::Speller::alphabet_translator', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 1137 | alphabet_translator.push_back(lexicon_key); | ^~~~~~~~~ ospell.cc:1142:29: error: request for member 'push_back' in '((hfst_ospell::Speller*)this)->hfst_ospell::Speller::alphabet_translator', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 1142 | alphabet_translator.push_back( | ^~~~~~~~~ ospell.cc:1143:34: error: request for member 'operator[]' in '* to_symbols', which is of non-class type 'hfst_ospell::StringSymbolMap' {aka 'int'} 1143 | to_symbols->operator[]( | ^ ospell.cc: In member function 'bool hfst_ospell::Speller::init_input(char*)': ospell.cc:1155:11: error: request for member 'clear' in '((hfst_ospell::Speller*)this)->hfst_ospell::Speller::input', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 1155 | input.clear(); | ^~~~~ ospell.h:270:25: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’? 270 | bool is_final(const TransitionTableIndex i); | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.h:273:31: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’? 273 | Weight final_weight(const TransitionTableIndex i) const; | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:839:9: error: 'first_transition_index' was not declared in this scope; did you mean 'TransitionIndex'? 839 | first_transition_index != NO_TABLE_INDEX; | ^~~~~~~~~~~~~~~~~~~~~~ | TransitionIndex ospell.cc:1156:5: error: 'SymbolNumber' was not declared in this scope 1156 | SymbolNumber k = NO_SYMBOL; | ^~~~~~~~~~~~ ospell.h:276:24: error: ‘SymbolNumber’ does not name a type 276 | bool is_flag(const SymbolNumber symbol); | ^~~~~~~~~~~~ ospell.cc:1163:13: error: 'k' was not declared in this scope 1163 | k = mutator->get_encoder()->find_key(inpointer); | ^ ospell.cc:1163:41: error: 'class hfst_ospell::Encoder' has no member named 'find_key' 1163 | k = mutator->get_encoder()->find_key(inpointer); | ^~~~~~~~ hfst-ol.cc:839:35: error: 'NO_TABLE_INDEX' was not declared in this scope 839 | first_transition_index != NO_TABLE_INDEX; | ^~~~~~~~~~~~~~ ospell.h:291:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’? 291 | TransitionTableIndex mutator_state; //!< state in error model | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc: In member function 'hfst_ospell::Weight hfst_ospell::TransitionIndex::final_weight() const': hfst-ol.cc:847:9: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionIndex'? 847 | TransitionTableIndex i; | ^~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.cc:850:12: error: 'union hfst_ospell::TransitionIndex::final_weight() const::to_weight' has no member named 'i' 850 | weight.i = first_transition_index; | ^ ospell.cc:1165:13: error: 'k' was not declared in this scope 1165 | k = lexicon->get_encoder()->find_key(inpointer); | ^ ospell.cc:1165:41: error: 'class hfst_ospell::Encoder' has no member named 'find_key' 1165 | k = lexicon->get_encoder()->find_key(inpointer); | ^~~~~~~~ ospell.h:292:5: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’? 292 | TransitionTableIndex lexicon_state; //!< state in language model | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.cc:1167:13: error: 'k' was not declared in this scope 1167 | if (k == NO_SYMBOL) { // no tokenization from alphabet | ^ hfst-ol.cc:850:16: error: 'first_transition_index' was not declared in this scope; did you mean 'TransitionIndex'? 850 | weight.i = first_transition_index; | ^~~~~~~~~~~~~~~~~~~~~~ | TransitionIndex hfst-ol.cc: At global scope: hfst-ol.cc:854:1: error: 'SymbolNumber' does not name a type 854 | SymbolNumber | ^~~~~~~~~~~~ ospell.h:300:14: error: ‘TransitionTableIndex’ has not been declared 300 | TransitionTableIndex mutator, | ^~~~~~~~~~~~~~~~~~~~ ospell.h:301:14: error: ‘TransitionTableIndex’ has not been declared 301 | TransitionTableIndex lexicon, | ^~~~~~~~~~~~~~~~~~~~ ospell.h:329:29: error: ‘SymbolNumber’ has not been declared 329 | TreeNode update_lexicon(SymbolNumber next_symbol, | ^~~~~~~~~~~~ ospell.h:330:29: error: ‘TransitionTableIndex’ has not been declared 330 | TransitionTableIndex next_lexicon, | ^~~~~~~~~~~~~~~~~~~~ ospell.h:335:29: error: ‘TransitionTableIndex’ has not been declared 335 | TreeNode update_mutator(TransitionTableIndex next_mutator, | ^~~~~~~~~~~~~~~~~~~~ ospell.h:340:22: error: ‘SymbolNumber’ has not been declared 340 | TreeNode update(SymbolNumber output_symbol, | ^~~~~~~~~~~~ ospell.h:342:22: error: ‘TransitionTableIndex’ has not been declared 342 | TransitionTableIndex next_mutator, | ^~~~~~~~~~~~~~~~~~~~ ospell.h:343:22: error: ‘TransitionTableIndex’ has not been declared 343 | TransitionTableIndex next_lexicon, | ^~~~~~~~~~~~~~~~~~~~ ospell.h:346:21: error: ‘SymbolNumber’ has not been declared 346 | TreeNode update(SymbolNumber output_symbol, | ^~~~~~~~~~~~ ospell.h:347:21: error: ‘TransitionTableIndex’ has not been declared 347 | TransitionTableIndex next_mutator, | ^~~~~~~~~~~~~~~~~~~~ ospell.h:348:21: error: ‘TransitionTableIndex’ has not been declared 348 | TransitionTableIndex next_lexicon, | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.cc:860:1: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 860 | TransitionTableIndex | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable ospell.h: In constructor ‘hfst_ospell::TreeNode::TreeNode(hfst_ospell::SymbolVector, unsigned int, int, int, hfst_ospell::FlagDiacriticState, hfst_ospell::Weight)’: ospell.h:306:9: error: class ‘hfst_ospell::TreeNode’ does not have any field named ‘mutator_state’ 306 | mutator_state(mutator), | ^~~~~~~~~~~~~ ospell.h:307:9: error: class ‘hfst_ospell::TreeNode’ does not have any field named ‘lexicon_state’ 307 | lexicon_state(lexicon), | ^~~~~~~~~~~~~ ospell.h: In constructor ‘hfst_ospell::TreeNode::TreeNode(hfst_ospell::FlagDiacriticState)’: ospell.h:317:5: error: class ‘hfst_ospell::TreeNode’ does not have any field named ‘mutator_state’ 317 | mutator_state(0), | ^~~~~~~~~~~~~ ospell.h:318:5: error: class ‘hfst_ospell::TreeNode’ does not have any field named ‘lexicon_state’ 318 | lexicon_state(0), | ^~~~~~~~~~~~~ hfst-ol.cc:866:1: error: 'SymbolNumber' does not name a type 866 | SymbolNumber | ^~~~~~~~~~~~ ospell.cc:1167:18: error: 'NO_SYMBOL' was not declared in this scope 1167 | if (k == NO_SYMBOL) { // no tokenization from alphabet | ^~~~~~~~~ hfst-ol.cc:872:1: error: 'SymbolNumber' does not name a type 872 | SymbolNumber | ^~~~~~~~~~~~ ospell.cc:1182:29: error: expected ';' before 'k_lexicon' 1182 | SymbolNumber k_lexicon = lexicon->get_alphabet()->get_string_to_symbol() | ^~~~~~~~~~ | ; ospell.cc:1184:71: error: 'k_lexicon' was not declared in this scope; did you mean 'lexicon'? 1184 | lexicon->get_encoder()->read_input_symbol(new_symbol, k_lexicon); | ^~~~~~~~~ | lexicon hfst-ol.cc: In member function 'bool hfst_ospell::Transition::final() const': hfst-ol.cc:887:12: error: 'input_symbol' was not declared in this scope 887 | return input_symbol == NO_SYMBOL && | ^~~~~~~~~~~~ ospell.cc:1190:34: error: request for member 'operator[]' in '*((hfst_ospell::Speller*)this)->hfst_ospell::Speller::mutator->hfst_ospell::Transducer::get_alphabet()->hfst_ospell::TransducerAlphabet::get_string_to_symbol()', which is of non-class type 'hfst_ospell::StringSymbolMap' {aka 'int'} 1190 | operator[](new_symbol_string); | ^ ospell.cc:1192:50: error: request for member 'size' in '((hfst_ospell::Speller*)this)->hfst_ospell::Speller::alphabet_translator', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 1192 | if (k >= alphabet_translator.size()) { | ^~~~ ospell.cc:1196:23: error: request for member 'push_back' in '((hfst_ospell::Speller*)this)->hfst_ospell::Speller::input', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 1196 | input.push_back(k); | ^~~~~~~~~ ospell.cc:1200:19: error: request for member 'push_back' in '((hfst_ospell::Speller*)this)->hfst_ospell::Speller::input', which is of non-class type 'hfst_ospell::SymbolVector' {aka 'int'} 1200 | input.push_back(k); | ^~~~~~~~~ ospell.cc: At global scope: ospell.cc:1206:6: error: variable or field 'add_symbol_to_alphabet_translator' declared void 1206 | void Speller::add_symbol_to_alphabet_translator(SymbolNumber to_sym) | ^~~~~~~ ospell.cc:1206:49: error: 'SymbolNumber' was not declared in this scope 1206 | void Speller::add_symbol_to_alphabet_translator(SymbolNumber to_sym) | ^~~~~~~~~~~~ hfst-ol.cc:887:28: error: 'NO_SYMBOL' was not declared in this scope 887 | return input_symbol == NO_SYMBOL && | ^~~~~~~~~ ospell.h: At global scope: ospell.h:415:5: error: ‘SymbolNumber’ does not name a type 415 | SymbolNumber get_state_size(void); | ^~~~~~~~~~~~ ospell.h:419:44: error: ‘SymbolNumber’ has not been declared 419 | void add_symbol_to_alphabet_translator(SymbolNumber to_sym); | ^~~~~~~~~~~~ ospell.h:441:29: error: ‘SymbolNumber’ has not been declared 441 | void queue_mutator_arcs(SymbolNumber input); | ^~~~~~~~~~~~ ospell.h:443:29: error: ‘SymbolNumber’ has not been declared 443 | void queue_lexicon_arcs(SymbolNumber input, | ^~~~~~~~~~~~ ospell.h:478:22: error: ‘SymbolNumber’ has not been declared 478 | void build_cache(SymbolNumber first_sym); | ^~~~~~~~~~~~ ospell.h: In member function ‘bool hfst_ospell::Speller::has_lexicon_epsilons() const’: ospell.h:428:61: error: ‘const struct hfst_ospell::TreeNode’ has no member named ‘lexicon_state’ 428 | return lexicon->has_epsilons_or_flags(next_node.lexicon_state + 1); | ^~~~~~~~~~~~~ ospell.h: In member function ‘bool hfst_ospell::Speller::has_mutator_epsilons() const’: ospell.h:435:55: error: ‘const struct hfst_ospell::TreeNode’ has no member named ‘mutator_state’ 435 | return mutator->has_transitions(next_node.mutator_state + 1, 0); | ^~~~~~~~~~~~~ hfst-ol.cc:888:9: error: 'output_symbol' was not declared in this scope 888 | output_symbol == NO_SYMBOL && | ^~~~~~~~~~~~~ hfst-ol.cc:889:9: error: 'target_index' was not declared in this scope 889 | target_index == 1; | ^~~~~~~~~~~~ hfst-ol.cc: At global scope: hfst-ol.cc:893:24: error: 'TransitionTableIndex' has not been declared 893 | TransitionTableIndex number_of_table_entries): | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.cc: In constructor 'hfst_ospell::IndexTable::IndexTable(FILE*, int)': hfst-ol.cc:895:5: error: class 'hfst_ospell::IndexTable' does not have any field named 'size' 895 | size(number_of_table_entries) | ^~~~ hfst-ol.cc: At global scope: hfst-ol.cc:901:24: error: 'TransitionTableIndex' has not been declared 901 | TransitionTableIndex number_of_table_entries): | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.cc: In constructor 'hfst_ospell::IndexTable::IndexTable(char**, int)': hfst-ol.cc:903:5: error: class 'hfst_ospell::IndexTable' does not have any field named 'size' 903 | size(number_of_table_entries) | ^~~~ hfst-ol.cc: At global scope: hfst-ol.cc:915:1: error: 'SymbolNumber' does not name a type 915 | SymbolNumber | ^~~~~~~~~~~~ hfst-ol.cc:926:1: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 926 | TransitionTableIndex | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:939:1: error: 'bool hfst_ospell::IndexTable::final' is not a static data member of 'class hfst_ospell::IndexTable' 939 | IndexTable::final(TransitionTableIndex i) const | ^~~~~~~~~~ hfst-ol.cc:939:19: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 939 | IndexTable::final(TransitionTableIndex i) const | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:945:1: error: 'hfst_ospell::Weight hfst_ospell::IndexTable::final_weight' is not a static data member of 'class hfst_ospell::IndexTable' 945 | IndexTable::final_weight(TransitionTableIndex i) const | ^~~~~~~~~~ hfst-ol.cc:945:26: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 945 | IndexTable::final_weight(TransitionTableIndex i) const | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:957:34: error: 'TransitionTableIndex' has not been declared 957 | TransitionTableIndex transition_count): | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.cc: In constructor 'hfst_ospell::TransitionTable::TransitionTable(FILE*, int)': hfst-ol.cc:959:5: error: class 'hfst_ospell::TransitionTable' does not have any field named 'size' 959 | size(transition_count) | ^~~~ hfst-ol.cc: At global scope: hfst-ol.cc:965:34: error: 'TransitionTableIndex' has not been declared 965 | TransitionTableIndex transition_count): | ^~~~~~~~~~~~~~~~~~~~ hfst-ol.cc: In constructor 'hfst_ospell::TransitionTable::TransitionTable(char**, int)': hfst-ol.cc:967:5: error: class 'hfst_ospell::TransitionTable' does not have any field named 'size' 967 | size(transition_count) | ^~~~ hfst-ol.cc: At global scope: hfst-ol.cc:979:1: error: 'SymbolNumber' does not name a type 979 | SymbolNumber | ^~~~~~~~~~~~ hfst-ol.cc:990:1: error: 'SymbolNumber' does not name a type 990 | SymbolNumber | ^~~~~~~~~~~~ hfst-ol.cc:1002:1: error: 'TransitionTableIndex' does not name a type; did you mean 'TransitionTable'? 1002 | TransitionTableIndex | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:1015:1: error: 'hfst_ospell::Weight hfst_ospell::TransitionTable::weight' is not a static data member of 'class hfst_ospell::TransitionTable' 1015 | TransitionTable::weight(TransitionTableIndex i) const | ^~~~~~~~~~~~~~~ hfst-ol.cc:1015:25: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 1015 | TransitionTable::weight(TransitionTableIndex i) const | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:1028:1: error: 'bool hfst_ospell::TransitionTable::final' is not a static data member of 'class hfst_ospell::TransitionTable' 1028 | TransitionTable::final(TransitionTableIndex i) const | ^~~~~~~~~~~~~~~ hfst-ol.cc:1028:24: error: 'TransitionTableIndex' was not declared in this scope; did you mean 'TransitionTable'? 1028 | TransitionTable::final(TransitionTableIndex i) const | ^~~~~~~~~~~~~~~~~~~~ | TransitionTable hfst-ol.cc:1035:1: error: 'SymbolNumber' does not name a type 1035 | SymbolNumber Encoder::find_key(char ** p) | ^~~~~~~~~~~~ make[1]: *** [Makefile:1015: libhfstospell_la-hfst-ol.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:55, from ZHfstOspellerXmlMetadata.h:30, from ZHfstOspeller.h:42, from main.cc:41: /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h: At global scope: /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:247:8: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 247 | std::auto_ptr<_xmlSAXHandler> sax_handler_; | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/memory:78, from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/unique_ptr.h:66:28: note: declared here 66 | template class auto_ptr; | ^~~~~~~~ In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:56: /usr/include/libxml++-2.6/libxml++/parsers/textreader.h:300:10: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 300 | std::auto_ptr propertyreader; | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/unique_ptr.h:66:28: note: declared here 66 | template class auto_ptr; | ^~~~~~~~ In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:71: /usr/include/libxml++-2.6/libxml++/relaxngschema.h:116:8: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 116 | std::auto_ptr pimpl_; | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/unique_ptr.h:66:28: note: declared here 66 | template class auto_ptr; | ^~~~~~~~ In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:72: /usr/include/libxml++-2.6/libxml++/xsdschema.h:107:8: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 107 | std::auto_ptr pimpl_; | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/unique_ptr.h:66:28: note: declared here 66 | template class auto_ptr; | ^~~~~~~~ In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:75: /usr/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:172:8: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 172 | std::auto_ptr pimpl_; | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/unique_ptr.h:66:28: note: declared here 66 | template class auto_ptr; | ^~~~~~~~ In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:77: /usr/include/libxml++-2.6/libxml++/validators/xsdvalidator.h:162:8: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 162 | std::auto_ptr pimpl_; | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/unique_ptr.h:66:28: note: declared here 66 | template class auto_ptr; | ^~~~~~~~ make[1]: *** [Makefile:1022: libhfstospell_la-ospell.lo] Error 1 make[1]: *** [Makefile:1057: hfst_ospell-main.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-util/hfstospell-0.5.3/work/hfst-ospell-0.5.3' make: *** [Makefile:790: all] Error 2 * ERROR: dev-util/hfstospell-0.5.3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-util/hfstospell-0.5.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/hfstospell-0.5.3::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:hfstospell-0.5.3:20230216-022937.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/hfstospell-0.5.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/hfstospell-0.5.3/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/hfstospell-0.5.3/work/hfst-ospell-0.5.3' * S: '/var/tmp/portage/dev-util/hfstospell-0.5.3/work/hfst-ospell-0.5.3'