tools/winapi: Remove the special handling of GDI_AllocObject().
Michael Stefaniuc
mstefani at redhat.de
Mon Dec 28 18:16:26 CST 2009
That function doesn't exist anymore in Wine.
---
tools/winapi/make_parser.pm | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/tools/winapi/make_parser.pm b/tools/winapi/make_parser.pm
index 885f77a..773c5f3 100644
--- a/tools/winapi/make_parser.pm
+++ b/tools/winapi/make_parser.pm
@@ -347,13 +347,7 @@ sub gcc_output($$) {
} elsif(/^ordered comparison of pointer with integer zero$/) {
$suppress = 0;
} elsif(/^passing arg (\d+) of (?:pointer to function|\`(\S+)\') from incompatible pointer type$/) {
- my $arg = $1;
- my $name = $2;
- if(defined($name) && $name =~ /^GDI_AllocObject$/) {
- $suppress = 1;
- } else {
- $suppress = 0;
- }
+ $suppress = 0;
} elsif(/^passing arg (\d+) of (?:pointer to function|\`(\S+)\') makes integer from pointer without a cast$/) {
$suppress = 0;
} elsif(/^passing arg (\d+) of (?:pointer to function|\`(\S+)\') makes pointer from integer without a cast$/) {
--
1.6.6
More information about the wine-patches
mailing list