[PATCH 3/5] riched20: Handle WM_SETTEXT's unicode conversion in the host.

Alexandre Julliard julliard at winehq.org
Wed Mar 10 13:41:57 CST 2021


Huw Davies <huw at codeweavers.com> writes:

> Signed-off-by: Huw Davies <huw at codeweavers.com>
> ---
>  dlls/riched20/editor.c  |  2 +-
>  dlls/riched20/txthost.c | 12 ++++++++++++
>  2 files changed, 13 insertions(+), 1 deletion(-)

This breaks the non-PE build:

clang -m32 -c -o dlls/riched20/txthost.o ../wine/dlls/riched20/txthost.c -Idlls/riched20 -I../wine/dlls/riched20 -Iinclude \
  -I../wine/include -I../wine/include/msvcrt -D__WINESRC__ -D_UCRT -D_REENTRANT -fno-PIC \
  -fasynchronous-unwind-tables -fno-builtin -fshort-wchar -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Wno-pragma-pack -Wstrict-prototypes -Wtype-limits -Wvla -Wwrite-strings \
  -Wpointer-arith -gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer -g -O2 -Wno-enum-conversion -Wno-sometimes-uninitialized -Wno-ignored-attributes -Wno-array-bounds -Wno-absolute-value -Wno-incompatible-pointer-types
../wine/dlls/riched20/txthost.c:874:14: error: use of undeclared identifier 'text_services_stdcall_vtbl'
        hr = ITextServices_TxSendMessage( host->text_srv, msg, wparam, (LPARAM)text, &res );
             ^
../wine/dlls/riched20/editor.h:387:51: note: expanded from macro 'ITextServices_TxSendMessage'
#define ITextServices_TxSendMessage(This,a,b,c,d) TXTSERV_VTABLE(This)->TxSendMessage(This,a,b,c,d)
                                                  ^
../wine/dlls/riched20/editor.h:383:32: note: expanded from macro 'TXTSERV_VTABLE'
#define TXTSERV_VTABLE(This) (&text_services_stdcall_vtbl)
                               ^
1 error generated.
make: *** [Makefile:134523: dlls/riched20/txthost.o] Error 1

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list