EnchantChecker.cpp error

Kornel Benko kornel at lyx.org
Sat Mar 6 18:32:36 UTC 2021


Am Sat, 6 Mar 2021 12:50:11 -0500
schrieb Scott Kostyshak <skostysh at lyx.org>:

> I get the following on current master:
> 
> [ 81%] Building CXX object src/CMakeFiles/lyx.dir/EnchantChecker.cpp.o
> cd /home/scott/lyxbuilds/master/CMakeBuild/src && /usr/bin/c++
> -DBOOST_USER_CONFIG="<config.h>" -DHUNSPELL_STATIC -DQT_CONCURRENT_LIB -DQT_CORE_LIB
> -DQT_GUI_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -I/home/scott/lyxbuilds/master/CMakeBuild
> -I/home/scott/lyxbuilds/master/repo/src -I/usr/include/enchant
> -I/home/scott/lyxbuilds/master/repo/3rdparty/hunspell/1.7.0/src/hunspell
> -I/home/scott/lyxbuilds/master/repo/3rdparty/hunspell/1.7.0/src
> -I/home/scott/lyxbuilds/master/repo/3rdparty/boost
> -I/home/scott/lyxbuilds/master/repo/3rdparty/nod
> -I/home/scott/lyxbuilds/master/CMakeBuild/src
> -isystem /usr/include/x86_64-linux-gnu/qt5
> -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore
> -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++
> -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui
> -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets
> -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent
> -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg  -Wall -Wextra -Wno-deprecated-copy
> --std=c++17 -DENABLE_ASSERTIONS=1 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC
> -fno-strict-aliasing  -O0 -g3 -D_DEBUG   -Werror -fPIC -std=c++17 -o
> CMakeFiles/lyx.dir/EnchantChecker.cpp.o
> -c /home/scott/lyxbuilds/master/repo/src/EnchantChecker.cpp /home/scott/lyxbuilds/master/repo/src/EnchantChecker.cpp:121:22:
> error: no declaration matches ‘lyx::SpellChecker::Result
> lyx::EnchantChecker::check(const lyx::WordLangTuple&,
> std::__debug::vector<lyx::WordLangTuple>)’ 121 | SpellChecker::Result
> EnchantChecker::check(WordLangTuple const & word, |                      ^~~~~~~~~~~~~~
> In file included
> from /home/scott/lyxbuilds/master/repo/src/EnchantChecker.cpp:16: /home/scott/lyxbuilds/master/repo/src/EnchantChecker.h:35:14:
> note: candidate is: ‘virtual lyx::SpellChecker::Result lyx::EnchantChecker::check(const
> lyx::WordLangTuple&, const std::__debug::vector<lyx::WordLangTuple>&)’ 35 |  enum
> Result check(WordLangTuple const &, |
> ^~~~~ /home/scott/lyxbuilds/master/repo/src/EnchantChecker.h:28:7: note: ‘class
> lyx::EnchantChecker’ defined here 28 | class EnchantChecker : public SpellChecker
> { |       ^~~~~~~~~~~~~~
> 
> Scott

Same here.

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210306/cc718278/attachment.asc>


More information about the lyx-devel mailing list