#5254: usb library fails on Windows ---------------------------------+------------------------------------------ Reporter: basvandijk | Owner: simonmar Type: bug | Status: new Priority: high | Milestone: 7.6.1 Component: Compiler (FFI) | Version: 7.0.3 Keywords: | Os: Windows Architecture: Unknown/Multiple | Failure: Runtime crash Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Changes (by simonmar):
* owner: => simonmar * difficulty: => Unknown * priority: low => high Comment: The `FunPtr` that you pass to `mkForeignPtr` must use the `ccall` calling convention. This should be documented - I'll fix that. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5254#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs