logo       

Re: -fno-implicit-prelude -prof bug on x86: msg#00055

lang.haskell.glasgow.bugs

Subject: Re: -fno-implicit-prelude -prof bug on x86

In article <ashley-CD4CA7.01040116072003@xxxxxxxxxxxxxx>,
I wrote:

> $ ghc -fno-implicit-prelude -prof -c M.hs
> /tmp/ghc4124.hc:5: `NULL' undeclared here (not in a function)
> /tmp/ghc4124.hc:5: initializer element is not constant
> /tmp/ghc4124.hc:5: (near initialization for `M_CAFs_cc_ccs[0].prevStack')
> /tmp/ghc4124.hc:5: `NULL' undeclared here (not in a function)
> /tmp/ghc4124.hc:5: initializer element is not constant
> /tmp/ghc4124.hc:5: (near initialization for
> `M_CAFs_cc_ccs[0].indexTable')

Workaround: pass -optc-DNULL=0 to GHC.

--
Ashley Yakeley, Seattle WA


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise