[libvoikko] Libreoffice-voikko with HFST support for Windows available for testing

Flammie Pirinen flammie at iki.fi
Mon Dec 23 07:21:47 EET 2013


2013-12-22, Børre Gaup sanoi:

> int Parse( const char* xml, size_t nBytes=(size_t)(-1) ); was
> introduced in tinyxml2 1.0.8, so a check for this is needed in
> configure.ac:
> 
> --- configure.ac        (revision 3659)
> +++ configure.ac        (working copy)
> @@ -98,7 +98,7 @@
>                            enable_xml=no])])
>  AM_CONDITIONAL([WANT_LIBXMLPP], [test x$enable_xml = xlibxmlpp])
>  AS_IF([test x$enable_xml = xtinyxml2],
> -      [PKG_CHECK_MODULES([TINYXML2], [tinyxml2],
> +      [PKG_CHECK_MODULES([TINYXML2], [tinyxml2 >= 1.0.8],
>                           [AC_DEFINE([HAVE_TINYXML2], [1], [Use
> tinyxml])],
>                           [AC_MSG_WARN([tinyxml missing, xml
> disabled]) enable_xml=no])])

Added, thanks. I thought there had to be something like this going on
because I remembered being annoyed by the lack of function with a length
parameter in tinyxml2 while debugging this corruption bug.

-- 
Flammie, computer scientist bachelor, linguist master, free software
Finnish localiser, and more! <http://www.iki.fi/flammie/>


More information about the Libvoikko mailing list