[m-dev.] for review: impure functions
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Apr 6 15:07:39 AEST 2000
On 06-Apr-2000, David Glen JEFFERY <dgj at cs.mu.OZ.AU> wrote:
> On 05-Apr-2000, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> > > I'm not sure that the language reference manual should talk about what warnings
> > > the compiler should be expected to produce. (Unless there is a precedent
> > > elsewhere in the manual that I wasn't aware of).
> >
> > I'm open to suggestions on this one. I mentioned it in the paper and
> > just pasted this in.
> >
> > There certainly is precendent -- consider the documention for pragma
> > obsolete. This is a pragma whose purpose it to generate warnings.
>
> True, but the whole pragmas section is presented as being implementation
> dependent, so the rules can be bent a bit there.
>
> I'm not too fussed either way, though.
I think it is fine for the language reference manual to recommend certain
compiler warnings.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list