Hi,

I'm noticing that if I use something like AC_CHECK_FUNC([strdup])
and then run configure like:

        CFLAGS="-Wall -Werror" ./configure

The test for strdup fails with the error:
        error: conflicting types for built-in function 'strdup'

when using gcc 4.3.2.

What is the recommended way to use both of these features (AC_CHECK_FUNC
and -Werror) at once?

Thanks,
- Chris



_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to