haskell / c2hs

c2hs is a pre-processor for Haskell FFI bindings to C libraries
http://hackage.haskell.org/package/c2hs
Other
199 stars 50 forks source link

Fixing warnings #240

Open LinuxUser404 opened 5 years ago

LinuxUser404 commented 5 years ago

I fixed a bunch of warnings here and there(thrown at me by a recent ghc). I was going to move this whole thing to a more recent version of cabal, but eventually ended up reverting everything back, to keep things nice and clear. I hope I didn't break anything. I commented some unused things instead of deleting them because they looked like some test cases, which never get called for some reason.

LinuxUser404 commented 5 years ago

I have figured out why the build is failing btw. It is due too a missing dependency in libssh2: https://github.com/portnov/libssh2-hs/pull/54

andreasabel commented 2 years ago

@deech Why hasn't this PR gotten any attention? (Looks useful.)