diff --git a/tools/winapi/make_parser.pm b/tools/winapi/make_parser.pm index 885f77a65f2e45e9988e40f86686c71db17b321c..773c5f30fdee660f8803ab3f1cc35dd2229490b7 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$/) {