[C2hs] [c2hs] #44: Foreign pointer declaration produces helper function without type signature, producing warning with -Wall

c2hs cvs-ghc at haskell.org
Wed Jul 4 09:07:26 CEST 2012


#44: Foreign pointer declaration produces helper function without type
signature, producing warning with -Wall
--------------------+-------------------------------------------------------
 Reporter:  guest   |        Type:  defect 
   Status:  new     |    Priority:  normal 
Milestone:          |   Component:  general
  Version:  0.16.0  |    Keywords:         
--------------------+-------------------------------------------------------
 When given a pointer declaration for a foreign pointer, such as:

 {{{
 {# pointer *foo as ^ foreign newtype #}
 }}}

 c2hs produces a helper function withFoo, without a type signature. This
 causes GHC with -Wall to produce a warning message, "Warning: Top-level
 binding with no type signature".

-- 
Ticket URL: <http://hackage.haskell.org/trac/c2hs/ticket/44>
c2hs <http://www.cse.unsw.edu.au/~chak/haskell/c2hs/>
C->Haskell, An Interface Generator for Haskell



More information about the C2hs mailing list