On Fri, 14 Oct 2011 09:51:40 +0100, Simon Marlow <[email protected]> wrote:
> On 13/10/2011 19:30, Ben Gamari wrote:
> > While compiling the master branch on my ARM machine, I ran into the
> > following error. It seems that the Alloc.hs defines functions named
> > free, malloc, and realloc, which then clash with the built-in
> > functions of the same name. Any ideas what to do here? Thanks.
> 
> You might try adding malloc/realloc/free to the list of symbols in 
> compiler/cmm/CLabel.hs, math_funs.
> 
Would a patch to this effect be accepted? It seems that the C backend
really should just work out of the box with so common a
compiler. Perhaps math_funcs should be renamed to builtin_funs?

Cheers,

- Ben

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to