[m-rev.] diff: bug in outputting mercury and foreign type declarations in .opt file

Simon Taylor stayl at cs.mu.OZ.AU
Thu Dec 12 20:37:31 AEDT 2002


On 10-Dec-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> I have built a test case for this, but the problems only shows up when you
> build the .opt file in say a C grade and use the .opt file when building in the
> IL grade.  This can be tested by setting the grade in EXTRA_MCOIFLAGS, but
> where should I put this test case?
> 
> ===================================================================
> Estimated hours taken: 1
> Branches: main
> 
> Fix a bug where types which where defined as a C foreign_type and a
> Mercury type where not having the Mercury type definition placed in
> the .opt file.

That's not a bug -- the `.opt' files are grade dependent.
If this is causing test failures, the correct fix is probably
to put `GRADEFLAGS-test = il' in Mercury.options.

Simon.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list