Francois Gouget : winapi_test: Clarify the error message regarding struct size and alignment.

Alexandre Julliard julliard at winehq.org
Tue Apr 14 16:15:27 CDT 2020


Module: wine
Branch: master
Commit: e5531732ae8653fa81c78f7bdeb068fcbe915c8d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e5531732ae8653fa81c78f7bdeb068fcbe915c8d

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Apr 14 16:56:00 2020 +0200

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

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 48c29f8f4a..453b7a42e1 100755
--- a/tools/winapi/winapi_test
+++ b/tools/winapi/winapi_test
@@ -276,7 +276,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*\(.*?\)$/) {




More information about the wine-cvs mailing list