Errors running winapi_extract --stub-statistics

Gregg Mattinson gm138242 at scot.canada.sun.com
Fri Jul 19 07:43:02 CDT 2002


I think this is because the module name is no longer in the .spec file.  Lines 
71-73 of winapi_extract look for "name" in the .spec file, which no longer 
exists.  Should we be using the file name as the module name?

Gregg Mattinson
Co-op Developer
Sun Microsystems of Canada

>From: Francois Gouget <fgouget at free.fr>
>To: wine-devel at winehq.com
>cc: Patrik Stridvall <ps at leissner.se>
>Subject: Errors running winapi_extract --stub-statistics
>Date: Fri, 19 Jul 2002 00:19:15 -0700 (PDT)
>
>
>Hi,
>
>
>I was trying to update the API statistics but I got the following
>errors:
>
>$ ./tools/winapi/winapi_extract --stub-statistics
>Use of uninitialized value in hash element at
>./tools/winapi/winapi_extract line 97.
>Use of uninitialized value in hash element at
>./tools/winapi/winapi_extract line 97.
>...
>
>There is quite a few of these. So I tentatively modified the line as
>follows:
>	$module2entries{$module} = $entries if (defined $module);
>
>But then I got:
>$ ./tools/winapi/winapi_extract --stub-statistics
>controls/button.c (file 1 of 796)Not a HASH reference at
>tools/winapi_check/winapi_parser.pm line 32.
>
>So obviously there is another problem or my previous 'fix' was not so
>good. Any ideas?
>
>
>--
>Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
>                  In a world without fences who needs Gates?
>




More information about the wine-devel mailing list