[m-dev.] multi-language definitions

Tyson Dowd trd at cs.mu.OZ.AU
Tue Feb 26 01:59:51 AEDT 2002


On 23-Feb-2002, Tyson Richard DOWD <trd at cs.mu.OZ.AU> wrote:
> On 22-Feb-2002, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> > The error message you would get if you had only one foreign_proc and no
> > foreign_only pragma would serve as a reminder that you should add either
> > foreign_procs for all the other back ends or a default clause in Mercury.
> 
> Which means your code fails to compile every time we add a new backend.

Sorry, this is not right, it will just fail now, because every
foreign_proc will need an extra pragma associated with it.
Mostly foreign_only pragmas.

-- 
       Tyson Dowd           # 
                            #  Surreal humour isn't everyone's cup of fur.
     trd at cs.mu.oz.au        # 
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
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