[Haskell-cafe] hsffig and duplicate typedef declarations

2009-05-14 Thread Dimitry Golubovsky
Dean, I am not sure how HSFFIG would deal with duplicate typedefs (I'm afraid you get error from gcc when processing hsc2hs output). In case you haven't seen this, I put a repo for HSFFIG here recently: http://code.haskell.org/hsffig/ Before running cabal install run make at the toplevel of

[Haskell-cafe] hsffig and duplicate typedef declarations

2009-05-13 Thread Dean Herington
I have a large body of C/C++ code at work that I'd like to be able to access from Haskell via FFI. Because the interface to this code is broad, hsffig would seem to be ideal for the task. I've run across one serious hitch, though. The existing #include file graph is complicated and ends up

Re: [Haskell-cafe] hsffig and duplicate typedef declarations

2009-05-13 Thread Don Stewart
heringtonlacey: I have a large body of C/C++ code at work that I'd like to be able to access from Haskell via FFI. Because the interface to this code is broad, hsffig would seem to be ideal for the task. I've run across one serious hitch, though. The existing #include file graph is

Re: [Haskell-cafe] hsffig and duplicate typedef declarations

2009-05-13 Thread Dean Herington
At 9:59 PM -0700 5/13/09, Don Stewart wrote: heringtonlacey: I have a large body of C/C++ code at work that I'd like to be able to access from Haskell via FFI. Because the interface to this code is broad, hsffig would seem to be ideal for the task. I've run across one serious hitch,

Re: [Haskell-cafe] hsffig and duplicate typedef declarations

2009-05-13 Thread Don Stewart
heringtonlacey: At 9:59 PM -0700 5/13/09, Don Stewart wrote: heringtonlacey: I have a large body of C/C++ code at work that I'd like to be able to access from Haskell via FFI. Because the interface to this code is broad, hsffig would seem to be ideal for the task. I've run across one

Re: [Haskell-cafe] hsffig and duplicate typedef declarations

2009-05-13 Thread Dean Herington
At 10:12 PM -0700 5/13/09, Don Stewart wrote: heringtonlacey: At 9:59 PM -0700 5/13/09, Don Stewart wrote: heringtonlacey: I have a large body of C/C++ code at work that I'd like to be able to access from Haskell via FFI. Because the interface to this code is broad, hsffig would seem