LumiGuide / haskell-opencv

Haskell binding to OpenCV-3.x
Other
154 stars 44 forks source link

CInt -> CBool for some inline-c args. #148

Closed TravisWhitaker closed 4 years ago

TravisWhitaker commented 4 years ago

Building against Stackage 16.x, I get failures complaining that $(bool _) expects a CBool, not a CInt. I'm not sure exactly what changed in inline-c to cause this, but this change fixes things up.

TravisWhitaker commented 4 years ago

Pinging recent committers @yorickvP @roelvandijk.

roelvandijk commented 4 years ago

Thanks for the pull request. Merging this would break the nix build since it links against inline-c-0.7.0.1. To fix this we will have to upgrade to a more recent version of inline-c, such as 0.9.0.0 (because it is available in nixpkgs-20.03).

yorickvP commented 4 years ago

We can upgrade to inline-c-0.9.0.0, we only use it on opencv. @roelvandijk please restart the CI build.

yorickvP commented 4 years ago

Thank you!