From owner-freebsd-hackers@FreeBSD.ORG Mon May 30 18:27:29 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id A62781065673; Mon, 30 May 2011 18:27:29 +0000 (UTC) Date: Mon, 30 May 2011 18:27:29 +0000 From: Alexander Best To: Dieter BSD Message-ID: <20110530182729.GA94451@freebsd.org> References: <20110530174423.95220@gmx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20110530174423.95220@gmx.com> Cc: freebsd-hackers@freebsd.org, freebsd-toolchain@freebsd.org Subject: Re: compiler warnings (was: Re: [rfc] a few kern.mk and bsd.sys.mk related changes) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2011 18:27:29 -0000 On Mon May 30 11, Dieter BSD wrote: > > maybe we find some nice -Wwarning options which are reasonable > > to have > > -Wmissing-declarations > -Wimplicit > > FreeBSD's gcc doesn't seem to have  -Wcoercion  ??? > Bugzilla indicates that it was added years ago (2006?). -Wcoercion seems to have only been a SoC project in 2006 [1]. i checked gcc trunk and it's not in the gcc(1) manual. [1] http://gcc.gnu.org/wiki/Wcoercion > > It would be really really nice if -static worked on (nearly) everything. > > > and - most importantly - don't break tinderbox > > That's a matter of fixing the bugs before adding the warning flags > to tinderbox. > > Ports need attention.  The warnings I get there are frightening. -- a13x