This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: [patch] cgen/opc-ibld.scm
- To: Eric Christopher <echristo at cygnus dot com>
- Subject: Re: [patch] cgen/opc-ibld.scm
- From: Doug Evans <dje at transmeta dot com>
- Date: Tue, 5 Dec 2000 20:19:28 -0800 (PST)
- Cc: Ben Elliston <bje at redhat dot com>, Johan Rydberg <johan dot rydberg at netinsight dot se>, CGEN <cgen at sources dot redhat dot com>, cagney at redhat dot com
- References: <Pine.LNX.4.30.0012061454160.11019-100000@moshpit.cygnus.com><3A2DAF2C.52215ECA@cygnus.com>
Eric Christopher writes:
> Ben Elliston wrote:
> >
> > This small patch removes some warnings when compiling opcodes.
> >
> > In general, I'm not a fan of such annotations in the source. It detracts
> > from the readability of the program. IMHO, the compiler should be fixed to
> > emit sensible warnings instead.
> >
>
> You get what you ask for. This is a specific warning enabled by the
> compiler with -Wall. You could turn it off if you don't think it is
> valid :)
It's a perfectly reasonable warning, for handwritten code.