EnchantChecker.cpp error

Scott Kostyshak skostysh at lyx.org
Sat Mar 6 17:50:11 UTC 2021


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210306/28ad4d44/attachment.asc>


More information about the lyx-devel mailing list