[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_CHECK_FUNCS and -Werror

From: Paul Eggert
Subject: Re: AC_CHECK_FUNCS and -Werror
Date: Wed, 17 Jun 2020 14:38:07 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

On 6/17/20 1:00 PM, Peter Häring wrote:
> But if you have as CFLAG -Werror, for example if you use start the
> configure process with
>       CFLAGS+=-Werror ./configure
> then warning abuot the different types will cause the test to fail
> despite the function is available.
> Possible solutions:
> * Provide the possibility to specify the type of the function
> * Provide the possibility to specify the header, where the function is
> defined, when it is available.

Yes, if we had time to engineer that it could well be better. In the meantime
the solution is to not use -Werror or similar flags when configuring.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]