id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
7031	Incorrect documentation for Windows dlls	NeilMitchell	pcapriotti	"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."	bug	closed	normal	7.6.1	Documentation	7.4.2	fixed		ndmitchell@…	Windows	Other	Documentation bug	Unknown				
