[Libreoffice-commits] online.git: configure.ac

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 30 12:54:21 UTC 2019


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

New commits:
commit 5e4c9db5de916fad88ca286e45d79c5a672313ba
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Wed Oct 30 13:51:48 2019 +0100
Commit:     Andras Timar <andras.timar at 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);


More information about the Libreoffice-commits mailing list