#7031: Incorrect documentation for Windows dlls
-------------------------------+--------------------------------------------
 Reporter:  NeilMitchell       |          Owner:               
     Type:  bug                |         Status:  new          
 Priority:  normal             |      Component:  Documentation
  Version:  7.4.2              |       Keywords:               
       Os:  Windows            |   Architecture:  Other        
  Failure:  Documentation bug  |       Testcase:               
Blockedby:                     |       Blocking:               
  Related:                     |  
-------------------------------+--------------------------------------------
 The documentation for creating Windows dlls
 (http://www.haskell.org/ghc/docs/7.4.1/html/users_guide/win32-dlls.html)
 was originally taken from my blog
 (http://neilmitchell.blogspot.co.uk/2009/11/haskell-dlls-on-windows.html).
 Unfortunately the translation dropped one line. My blog reads:

 {{{
    // Initialize Haskell runtime
    char** args = argv;
    hs_init(&argc, &args);

    // Tell Haskell about all root modules
    hs_add_root(__stginit_Adder);
 }}}

 But the docs omit the call to {{{hs_add_root}}}. I was emailed by Jonas
 Fager who had problems producing a dll because of this documentation
 problem.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7031>
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

Reply via email to