configure.ac |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 5e4c9db5de916fad88ca286e45d79c5a672313ba
Author:     Andras Timar <andras.ti...@collabora.com>
AuthorDate: Wed Oct 30 13:51:48 2019 +0100
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Wed Oct 30 13:51:48 2019 +0100

    fix configure check 'If we need to link with -lpcre'
    
    The test program did not compile because of
    error: unused parameter 'argc' [-Werror=unused-parameter]
    As result, we always linked with -lpcre.
    
    Change-Id: I7557025cc56fb72fc2a9f8de6142de93cfed2335

diff --git a/configure.ac b/configure.ac
index c6e5f54fa..af9d0aa87 100644
--- a/configure.ac
+++ b/configure.ac
@@ -704,6 +704,7 @@ AS_IF([test "$ENABLE_IOSAPP" != "true"],
        #include <Poco/RegularExpression.h>
        int main(int argc, char **argv)
        {
+           (void)argc;
            Poco::RegularExpression e("abc.[def]");
            Poco::RegularExpression::Match m;
            return e.match(argv[[1]], m);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to