-fvia-c doesn't work
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Wed Sep 29 09:32:22 EDT 2004
Yesterday, I wrote:
> It seems that I am unable to use -fvia-c with ghc, because it gives
> some C header file conflicts. Here is the observable problem:
>
> $ ghc-6.2.1 -c -fvia-c /tmp/ghcbug.hs
> In file included from /usr/include/stdlib.h:414,
> from
> /usr/malcolm/local/lib/ghc-6.2.1/include/Stg.h:200,
> from /tmp/ghc1723.hc:3:
> /usr/include/sys/types.h:190: conflicting types for `int8_t'
> stdint.h:33: previous declaration of `int8_t'
Weirdly, -fvia-c works just fine today, with all versions of ghc
installed locally. It must have been something in my local machine
config, even though I haven't changed anything since!
Regards,
Malcolm
More information about the Glasgow-haskell-bugs
mailing list