Re: AC_CHECK_FUNCS and -Werror

Paul Eggert <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Organization UCLA Computer Science Department
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.