[m-dev.] For review: minor changes to int.m

Ralph Becket rbeck at microsoft.com
Tue Feb 6 02:34:57 AEDT 2001


>From Fergus Henderson on 05/02/2001 14:12:34
> On 05-Feb-2001, Ralph Becket <rbeck at microsoft.com> wrote:
> > Estimated hours taken: 0.2
> > 
> 
> Hmm, 0.2 hours doesn't leave much time for testing... did you test it?
> In fact, did you even compile it? ;-)
>
> It looks to me like it won't compile, since it declares predicates
> as obsolete, but still calls them, and the library gets compiled
> with `--halt-at-warn'.

I did compile it, but not with --halt-at-warn...  and I've just
spotted an int.err file with a dozen warnings in.  Damn!

> I'm not convinced that we should add `pragma obsolete' declarations
> just yet.  It might be nicer to give people some time to change their
> existing code all by themselves before we start issuing compiler
> warnings about it.
> 
> Also there's lots of code in the compiler itself which would
> trigger those warnings.  The fixes for those should be committed
> at the same time as the `pragma obsolete' declarations are added.

You're right.  I'll ditch the `pragma obsolete's and check it in.

--
Ralph Becket      |      MSR Cambridge      |      rbeck at microsoft.com 

--------------------------------------------------------------------------
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