Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2002 22:52:30 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Juli Mallett <jmallett@FreeBSD.org>
Cc:        Alexander Kabaev <kan@FreeBSD.org>, <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/contrib/gcc c-common.h
Message-ID:  <20020917224610.M10920-100000@gamplex.bde.org>
In-Reply-To: <20020916211657.A97593@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 16 Sep 2002, Juli Mallett wrote:

> * De: Alexander Kabaev <kan@FreeBSD.org> [ Data: 2002-09-16 ]
> 	[ Subjecte: cvs commit: src/contrib/gcc c-common.h ]
> > kan         2002/09/16 21:10:25 PDT
> >
> >   Modified files:
> >     contrib/gcc          c-common.h
> >   Log:
> >   Merge FreeBSD modifications into gcc 3.2.1-prerelease:
> >     1.2  framework for our kernel printf enhancements
> >     1.3  suppress prototype warning for K&R main
>
> Can we turn on 1.3's warning, somehow, and sweep *our* code for this,
> at some point?

It's already on by default (with -Wstrict-prototypes).  The purpose
of the FreeBSD changes is to break this warning :(.  The only way to
turn on the breakage is to use the undocumented extension std=bsd, so
I think the breakage is almost never used.

Bruce


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




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