#5142: stub header files don't work with the MS C compiler
---------------------------------+------------------------------------------
Reporter: simonmar | Owner: simonmar
Type: bug | Status: new
Priority: normal | Milestone: 7.2.1
Component: Compiler | Version: 7.0.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Specifically we need to conditionalise the stdcall annotation, using
`__attribute__((__stdcall__))` for gcc and and `__stdcall` for Microsoft's
compiler.
See [http://blogs.msdn.com/b/satnam_singh/archive/2011/04/19/creating-a
-windows-dll-from-a-haskell-program-and-calling-it-from-c.aspx]
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5142>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs