Commit 30131979 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

winapi_check: '-register' is compatible with stdcall. So remove this obsolete warning.

parent 65563fd0
......@@ -123,14 +123,8 @@ sub _check_function($$$$$$) {
$declared_calling_convention = $1;
}
if ($declared_register)
{
if ($implemented_calling_convention eq "stdcall")
{
$output->write("-register functions should not be implemented as stdcall\n");
}
}
elsif($implemented_calling_convention ne $declared_calling_convention &&
if(!$declared_register &&
$implemented_calling_convention ne $declared_calling_convention &&
$implemented_calling_convention ne "asm" &&
!($declared_calling_convention =~ /^pascal/ && $forbidden_return_type) &&
!($implemented_calling_convention =~ /^(?:cdecl|varargs)$/ && $declared_calling_convention =~ /^(?:cdecl|varargs)$/))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment