[PATCH] winapi_test: Clarify the error message regarding struct size and alignment.

Francois Gouget fgouget at free.fr
Tue Apr 14 09:56:00 CDT 2020


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 tools/winapi/winapi_test | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/winapi/winapi_test b/tools/winapi/winapi_test
index adee5e24a65..5149e98e7c0 100755
--- a/tools/winapi/winapi_test
+++ b/tools/winapi/winapi_test
@@ -280,7 +280,7 @@ sub _find_align_kind_size($) {
     } elsif (/^(struct|union)$/) {
 	$kind = $1;
 	if (!$size_parse_reported{$_}) {
-	    $output->write("$type_name: can't parse type\n");
+	    $output->write("cannot compute the size and alignment of $type_name types\n");
 	    $size_parse_reported{$_} = 1;
 	}
     } elsif (/^\w+\s*\((?:\s*CALLBACK|\s*NTAPI|\s*WINAPI)?\s*\*\s*\)\s*\(.*?\)$/) {
-- 
2.20.1




More information about the wine-devel mailing list