#7232: make hsc2hs work with -c g++
------------------------------+---------------------------------------------
Reporter: elaforge | Owner:
Type: bug | Status: new
Priority: normal | Component: hsc2hs
Version: 7.6.1 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
Ticket #2897 changed hsc2hs to create a *_utils.c file containing stub
functions for several libc functions. To avoid template-hsc.h having to
include stdio.h, they use (void *) instead of (FILE *). C compilers will
happily cast the void* to FILE*, but g++ is more picky. It's easily fixed
by adding an explicit cast to FILE*.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7232>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs