#2979: better support for FFI C wrappers for macros in system headers
----------------------------------+-----------------------------------------
  Reporter:  duncan               |          Owner:                  
      Type:  feature request      |         Status:  new             
  Priority:  normal               |      Milestone:  7.6.1           
 Component:  Compiler (FFI)       |        Version:  7.3             
Resolution:                       |       Keywords:                  
  Testcase:                       |      Blockedby:                  
Difficulty:  Unknown              |             Os:  Unknown/Multiple
  Blocking:                       |   Architecture:  Unknown/Multiple
   Failure:  Building GHC failed  |  
----------------------------------+-----------------------------------------

Comment(by PHO):

 Oops, I meant:
 {{{
 instance CType CSigset where cType _ = "sigset_t"
 instance CType CInt    where cType _ = "int"
 instance CType a => CType (Ptr a) where
     cType _ = cType (undefined :: a) ++ "*"
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2979#comment:20>
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