[m-dev.] for review: ANSI C fixes for none.x grades

Peter Ross petdr at cs.mu.OZ.AU
Thu Nov 25 12:29:06 AEDT 1999


On 25-Nov-1999, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> On 25-Nov-1999, Peter Ross <petdr at cs.mu.OZ.AU> wrote:
> > Ensure that the none.gc and none grades compile using a compiler
> > other than gcc.
> 
> That looks good, thanks Pete!
> 
> > compiler/export.m:
> >     Remove a duplicate label definition.
> 
> s/definition/declaration/
> 
> Are you sure that the label declaration there is not needed?

No.

> Can you please test compiling some simple file using
> `pragma export' (e.g, export_test and pragma_import_tests
> in tests/hard_coded) with `--split-c-files'?
> 
Yes export_test.m will fail because the symbol no longer exists.

It is safe to use Declare_entry, just not Declare_static. Hence my
question: is it possible for something to be Declare_static and for this
to be the only declaration?

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