[LyX/master] Cmake build: Remove unneeded hunspell path from configure test

Kornel Benko kornel at lyx.org
Wed Dec 4 19:24:42 UTC 2019


Am Wed, 4 Dec 2019 12:22:09 -0500
schrieb Scott Kostyshak <skostysh at lyx.org>:

> /home/scott/lyxbuilds/master/repo/src/HunspellChecker.cpp:362:43: error: ‘int
> Hunspell::spell(const char*, int*, char**)’ is deprecated
> [-Werror=deprecated-declarations] 362 |  if (h->spell(word_to_check.c_str(), &info))
> |                                           ^ In file included
> from /home/scott/lyxbuilds/master/repo/src/HunspellChecker.cpp:31: /usr/include/hunspell/hunspell.hxx:131:20:
> note: declared here 131 |   H_DEPRECATED int spell(const char* word, int* info = NULL,
> char** root = NULL); |                    ^~~~~
> 
> Before this commit, the cmake command output the following:
> 
>   HAVE_HUNSPELL_CXXABI = TRUE
> With this commit, the cmake command outputs the following:
> 
>   HAVE_HUNSPELL_CXXABI = FALSE
> 
> There are no other differences in the output of the cmake command.

Same as here if using external hunspell.
The problem is that the found hunspell directory is (in our case) '/usr/include' and not
'/usr/include/hunspell'. This is OK for XCode, but not for us.

Should be fixed.

	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/20191204/ccb80ee6/attachment.asc>


More information about the lyx-devel mailing list