]> git.lyx.org Git - lyx.git/commit
Compile 3rdparty/hunspell in stdlib-debug mode when needed
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 29 Mar 2018 10:05:50 +0000 (12:05 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 29 Mar 2018 10:08:48 +0000 (12:08 +0200)
commitd9e0a842cfb2090cecbc61252c842b427eddadd4
tree7735d698c0ff05c8dfc22c88ad2e3f89efc51877
parent1cbe568d61200577f1e168b9cfc2680003b637a5
Compile 3rdparty/hunspell in stdlib-debug mode when needed

A function that returns a vector<string> will lead to a crash if the
main code and the library have not been compiled with the same
stdlib-debug state. See for example:
https://stackoverflow.com/questions/4764048/stl-and-release-debug-library-mess

This is fixed by introducing a new variable STDLIB_DEBUG that contains
the flags that trigger the debug mode (autoconf only for now).

This will allow to go forward with bug #10547.
3rdparty/hunspell/Makefile.am
config/lyxinclude.m4