Josh Triplett wrote:

> Package: c2hs
> Version: 0.16.3-2
> Severity: important
> 
> A library I'd like to write bindings to has a typedef of int64_t to a
> library-specific type name. c2hs seems to interpret that type as CInt,
> both in foreign import declarations and in {# type #} directives. It
> should interpret that type as a 64-bit integer type instead.

I've seen this happen before and the cause was that the header file
defining the int64_t to something else did not include <stdint.h>.

I think the solution was to tell c2hs somehow that <stdint.h> should be
included before the project specific header.

HTH,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to