Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error because of missing method #31

Closed
ftyers opened this issue Aug 14, 2020 · 2 comments
Closed

Compile error because of missing method #31

ftyers opened this issue Aug 14, 2020 · 2 comments

Comments

@ftyers
Copy link
Member

ftyers commented Aug 14, 2020

fran@ipek:~/source/apertium/trunk/apertium-separable$ make
Making all in src
make[1]: Entering directory '/home/fran/source/apertium/trunk/apertium-separable/src'
g++ -DPACKAGE_NAME=\"apertium-separable\" -DPACKAGE_TARNAME=\"apertium-separable\" -DPACKAGE_VERSION=\"0.3.4\" -DPACKAGE_STRING=\"apertium-separable\ 0.3.4\" -DPACKAGE_BUGREPORT=\"ftyers@prompsit.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"apertium-separable\" -DVERSION=\"0.3.4\" -DHAVE_LIBXML2=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DECL_FREAD_UNLOCKED=1 -DHAVE_DECL_FWRITE_UNLOCKED=1 -DHAVE_DECL_FGETC_UNLOCKED=1 -DHAVE_DECL_FPUTC_UNLOCKED=1 -DHAVE_DECL_FPUTS_UNLOCKED=1 -DHAVE_DECL_FGETWC_UNLOCKED=0 -DHAVE_DECL_FPUTWC_UNLOCKED=0 -DHAVE_DECL_FGETWS_UNLOCKED=0 -DHAVE_DECL_FPUTWS_UNLOCKED=0 -I.   -Wall -Wextra  -I/home/fran/local/include/apertium-3.6 -I/home/fran/local/lib/apertium-3.6/include -I/home/fran/local/include/lttoolbox-3.5 -I/usr/include/libxml2 -I/usr/include/libxml2  -Wall -Wextra -g -O2 -std=c++2a -MT lsx_processor.o -MD -MP -MF .deps/lsx_processor.Tpo -c -o lsx_processor.o lsx_processor.cc
lsx_processor.cc: In member function ‘void LSXProcessor::processWord(FILE*, FILE*)’:
lsx_processor.cc:236:64: error: no matching function for call to ‘State::step_override(__gnu_cxx::__alloc_traits<std::allocator<wchar_t>, wchar_t>::value_type&, wint_t, int&, __gnu_cxx::__alloc_traits<std::allocator<wchar_t>, wchar_t>::value_type&)’
         s.step_override(lu[i], towlower(lu[i]), any_char, lu[i]);
                                                                ^
In file included from lsx_processor.h:7,
                 from lsx_processor.cc:1:
/home/fran/local/include/lttoolbox-3.5/lttoolbox/state.h:187:8: note: candidate: ‘void State::step_override(int, int, int)’
   void step_override(int const input, int const old_sym, int const new_sym);
        ^~~~~~~~~~~~~
/home/fran/local/include/lttoolbox-3.5/lttoolbox/state.h:187:8: note:   candidate expects 3 arguments, 4 provided
Makefile:362: recipe for target 'lsx_processor.o' failed
make[1]: *** [lsx_processor.o] Error 1
make[1]: Leaving directory '/home/fran/source/apertium/trunk/apertium-separable/src'
Makefile:401: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

in lttoolbox:

$ git log | head
commit acdfe58b793440e3fc6cc7e23635178e696fd460
Author: Francis Tyers <ftyers@prompsit.com>
Date:   Sun Jul 5 21:54:05 2020 +0100

    deprecate SAO code
@TinoDidriksen
Copy link
Member

Cannot reproduce with latest everything from git.

@TinoDidriksen
Copy link
Member

You're on an lttoolbox branch that's not on Github, probably you were working on apertium/lttoolbox#99 and never pushed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants