Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Sep 1998 14:10:10 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        current@FreeBSD.ORG, gpalmer@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/kern subr_bus.c uipc_socket2.c
Message-ID:  <199809070410.OAA21825@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Archie Cobbs wrote in message ID
><199809070103.SAA13578@bubba.whistle.com>:
>> In practice, however, -Werror may not be workable... it would be an
>> interesting experiment anyway.

You clipped the part saying that anyone can remove -Werror from an
include file if they can remove -O from an include file.

>NetBSD has -Werror in their sources. While their goal is laudable (a clean 
>source tree), its one of the most annoying things I've come across. Half the 
>time I was doing make build on NetBSD/alpha it stopped 'cos of some non-fatal 
>warning which wouldn't have caused any problems, but I woke up the next 
>morning to find that the build had stopped...

>If you want to try, add -Werror to CFLAGS and COPTFLAGS in your own 
>/etc/make.conf. That way it won't hose other peoples work.

Anyone who can do that can add -Wno-error to their own /etc/make.conf.
There may be some complications with option ordering and CFLAGS overriding
in both cases.

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809070410.OAA21825>