-fno-implicit-prelude -prof bug on x86

Ashley Yakeley ashley at semantic.org
Sun Jul 20 07:48:14 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.

-- 
Ashley Yakeley, Seattle WA




More information about the Glasgow-haskell-bugs mailing list