[m-dev.] spot the bug

Zoltan Somogyi zs at cs.mu.OZ.AU
Tue Aug 22 10:13:52 AEST 2000


On 22-Aug-2000, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> That should be
> 			p = realloc(p, ...);
> 			^^^

I thought the mgnuc script invoked gcc with warning options that would
tell you when you ignored a non-void return value from a function.
However, I see that mgnuc has -Wunused commented out, because it
"causes various spurious warnings". Anyone know how easy it would be
to get rid of those spurious warnings so we can enable that option?

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