#7232: make hsc2hs work with -c g++
-------------------------------+--------------------------------------------
  Reporter:  elaforge          |          Owner:                  
      Type:  bug               |         Status:  closed          
  Priority:  normal            |      Milestone:                  
 Component:  hsc2hs            |        Version:  7.6.1           
Resolution:  wontfix           |       Keywords:                  
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown      |     Difficulty:  Unknown         
  Testcase:                    |      Blockedby:                  
  Blocking:                    |        Related:                  
-------------------------------+--------------------------------------------
Changes (by drpowell):

 * cc: david@… (added)


Comment:

 I'd like to see this bug fixed.

 I think the proposed patch is correct.  It is the .h file that cannot
 refer to <stdio.h>.  The _hsc_utils.c file *can*, and already does, refer
 to <stdio.h>.  This patch just makes the implicit cast to FILE* explicit
 in _hsc_utils.c.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7232#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to