autoconf-patches
[Top][All Lists]
Advanced

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

Re: AC_PROG_WERROR


From: Daniel Jacobowitz
Subject: Re: AC_PROG_WERROR
Date: Mon, 20 Oct 2003 12:20:56 -0400
User-agent: Mutt/1.5.1i

On Fri, Oct 17, 2003 at 10:06:19AM +0200, Akim Demaille wrote:
> 
>  > address@hidden AC_LANG_WERROR
>  > address@hidden
>  > +Normally Autoconf ignores warnings generated by the compiler, linker, and
>  > +preprocessor.  If this macro is used, warnings will be treated as fatal
>  > +errors instead for the current language.  This macro is useful when the
>  > +results of configuration will be used where warnings are unacceptable; for
>  > +instance, if parts of a program are built with the GCC @samp{-Werror}
>  > +option.  If the whole program will be built using @samp{-Werror} it is
>  > +often simpler to put @samp{-Werror} in @code{CFLAGS}, @code{CXXFLAGS}, et
>  > +cetera.
> 
> I'd prefer
> 
>     If the whole program will be built using @samp{-Werror} it is
>     often simpler to put @samp{-Werror} in the compiler flags
>     (@code{CFLAGS} etc.).
> 
> Looks good, please install (drow is given write access).

Done, thanks.

After the next autoconf release I'll update GCC again and make sure
everything holds together in the real world.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer




reply via email to

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