[gnet-dev] Warnings as errors



On Mon, 2002-09-30 at 11:39, David Helder wrote:
> I could set CFLAGS to -Werror in configure.ac so that compilation fails if
> there is a warning.  I can still compile GNet in Linux and FreeBSD then.
> I know there are still some compile warnings on MacOSX, but they can be
> fixed with casts.  Is this going to cause serious problems on other
> systems?

It may break builds more often, but I doubt the problems would be
serious. You'd get patches for that pretty quickly, since it's usually
easy to fix.

Nautilus is compiled with -Werror, but I think that may be in maintainer
mode only.

(I built GNet 1.1.4 on HPUX 10 and 11 a while ago. It went fine, but I
don't remember if there were any warnings).

-- 
Hans Petter



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