[mercury-users] On Warnings!!!

Julien Fischer juliensf at csse.unimelb.edu.au
Thu Sep 6 03:00:38 AEST 2007




On Wed, 5 Sep 2007, Roy Ward wrote:

> stormie at hotmail.it wrote:
>> I usually get warnings when I compile a mercury program on my box.I also 
>> got loads of warning during installation steps.
>> 
>> 
>> Are these warnings important to consider or should I just ignore them. I am 
>> using rotd-2007-08-30 with gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4) 
>
> My understanding is that the warnings are due to using asm_fast.gc grade with 
> gcc 4.1 or later. They seem to be harmless  (I ignore them, and no problems 
> yet). They don't appear with grade hlc.gc, but it's probably not worth 
> switching grades to remove a few spurious warnings.

Yes, the warnings are related to the use of asm labels; hlc.gc does not
use those.

> I'm guessing there's a gcc compiler switch somewhere that would get rid of 
> those.

I had a look a while back but couldn't find anything; maybe there's now
something in gcc 4.2?

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