-fno-implicit-prelude -prof bug on x86
Simon Marlow
simonmar at microsoft.com
Mon Jul 21 11:50:41 EDT 2003
> In article <ashley-CD4CA7.01040116072003 at main.gmane.org>,
> 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.
Fixed, thanks.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list