#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

_______________________________________________
C2hs mailing list
C2hs@haskell.org
http://www.haskell.org/mailman/listinfo/c2hs

Reply via email to