autoconf-patches
[Top][All Lists]
Advanced

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

Re: questions and doc patch on AC_TRY_LINK_FUNC


From: Eric Blake
Subject: Re: questions and doc patch on AC_TRY_LINK_FUNC
Date: Fri, 10 Mar 2006 21:17:23 +0000

> 
> Instead, how about if we use -fno-builtin if available?  Does that
> pacify your version of GCC?  If it works, that'd be a lot easier.

Yes, gcc 3.4.4 no longer warns about 'char printf();' in the
presence of -fno-builtin, allowing -Werror to compile the program
in question without failure.  Now, what is the best approach to
going about detecting whether the compiler supports that
flag, and if so, using that flag for all tests that involve
AC_LANG_CALL?

-- 
Eric Blake




reply via email to

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