widl: The offset to the pointer layout in complex structures must be positive so add an assert and fix the format string.
Alexandre Julliard
julliard at winehq.org
Mon Jun 23 13:18:50 CDT 2008
"Rob Shearman" <robertshearman at gmail.com> writes:
> Otherwise we could generate an incorrect format string and crash in a
> weird way at runtime instead.
Looks like the assert works ;)
../../tools/widl/widl -I. -I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -p -P oleaut32_oaidl_p.c oleaut32_oaidl.idl
widl: typegen.c:1856: write_struct_tfs: Assertion `absoff >= *tfsoff' failed.
make[2]: *** [oleaut32_oaidl_p.c] Aborted
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list