[Pkg-haskell-maintainers] Bug#680163: Foreign pointer declaration produces helper function without type signature, producing warning with -Wall

Josh Triplett josh at joshtriplett.org
Wed Jul 4 07:08:20 UTC 2012


Package: c2hs
Version: 0.16.3-2
Severity: normal

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".

- Josh Triplett

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages c2hs depends on:
ii  libc6     2.13-34
ii  libffi5   3.0.10-3
ii  libgmp10  2:5.0.5+dfsg-2

c2hs recommends no packages.

c2hs suggests no packages.

-- no debconf information





More information about the Pkg-haskell-maintainers mailing list