automake
[Top][All Lists]
Advanced

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

Re: How to build source code while treating all warnings as errors with


From: NotFound
Subject: Re: How to build source code while treating all warnings as errors with automake...
Date: Mon, 18 Feb 2008 22:43:00 +0100

> > Recently, I converted the project over to using Autotools and am
> > wondering if there is a portable way to instruct automake to generate
> > Makefiles that build code while treating all encountered warnings as
> > errors?
> Probably so, and I'm sure Ralf will know what it is.  However, this is
> usually not a very good idea.  You have no idea what compiler someone's
> going to be using or what warnings it will throw.  For instance, passing

By the way, including -Werror in CFLAGS at configure time breaks
several automake and autoconf tests. This is a shame, but I suppose it
will be almost impossible to make all tests warning-free.

-- 
Salu2




reply via email to

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