[mercury-users] Problems building with Erlang grade

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Jun 18 22:38:00 AEST 2012


Hi,

On Tue, 5 Jun 2012, Sean Johnson wrote:

> Any luck when looking into this? Anything I can do to help or are you able to replicate it on your end?

I have just committed a fix for this.  It will be available in the ROTDs
and the 11.07.2 beta release in a couple of days.

Julien.


> On Sunday, May 27, 2012 at 7:55 AM, Julien Fischer wrote:
>
>> '
>> Hi,
>>
>> On Sun, 27 May 2012, Snooty Monkey wrote:
>>
>>> It does Julien:
>>>
>>> mmc --grade erlang --make hello
>>>
>>> Making Mercury/int3s/hello.int3
>>> Making Mercury/ints/hello.int
>>> Making Mercury/erls/hello.erl
>>> Making Mercury/beams/hello.beam
>>> Making hello
>>>
>>>
>>> Thanks! What's the difference?
>>
>> The former appears to be buggy, the latter not buggy ;-)
>>
>>> I thought --erlang was just a synonym for --grade erlang?
>>
>> Not quite. --erlang sets (or should set) the target language to Erlang,
>> leaving other grade components unchanged; --grade erlang should both
>> set the target language to Erlang and reset all other grade components
>> to their default values. (I'm not quite sure what's going wrong with
>> --erlang at the moment. The error message you were getting indicates
>> that at least part of the compiler still thinks that the target language
>> is C -- I will look into it.)
>>
>> Cheers,
>> Julien.
>> --------------------------------------------------------------------------
>> mercury-users mailing list
>> Post messages to: mercury-users at csse.unimelb.edu.au (mailto:mercury-users at csse.unimelb.edu.au)
>> Administrative Queries: owner-mercury-users at csse.unimelb.edu.au (mailto:owner-mercury-users at csse.unimelb.edu.au)
>> Subscriptions: mercury-users-request at csse.unimelb.edu.au (mailto:mercury-users-request at csse.unimelb.edu.au)
>> --------------------------------------------------------------------------
>>
>>
>
>
>
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list