[PATCH v3 5/5] windows.media.speech: Store speech commands in listconstraint.

Rémi Bernon rbernon at codeweavers.com
Tue Mar 29 12:26:26 CDT 2022


On 3/29/22 19:13, Alexandre Julliard wrote:
> Rémi Bernon <rbernon at codeweavers.com> writes:
> 
>> From: Bernhard Kölbl <besentv at gmail.com>
>>
>> And make them obtainable with ISpeechRecognitionListConstraint_get_Commands.
>>
>> Signed-off-by: Bernhard Kölbl <besentv at gmail.com>
>> Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
>> ---
>>   dlls/windows.media.speech/listconstraint.c | 31 ++++++++++-----
>>   dlls/windows.media.speech/private.h        |  1 +
>>   dlls/windows.media.speech/tests/speech.c   | 25 +++++++-----
>>   dlls/windows.media.speech/vector.c         | 44 ++++++++++++++++++++++
>>   4 files changed, 82 insertions(+), 19 deletions(-)
> 
> This is causing a warning:
> 
> i686-w64-mingw32-gcc -c -o dlls/windows.media.speech/tests/speech.cross.o dlls/windows.media.speech/tests/speech.c \
>    -Idlls/windows.media.speech/tests -Iinclude -Iinclude/msvcrt -D__WINESRC__ -D_MSVCR_VER=0 \
>    -D__WINE_PE_BUILD -Wall -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
>    -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
>    -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
>    -Wabsolute-value -fno-omit-frame-pointer -gdwarf-4 -Werror -g -O2 -fno-diagnostics-show-caret
> dlls/windows.media.speech/tests/speech.c: In function ‘iterable_hstring_First’:
> dlls/windows.media.speech/tests/speech.c:422:42: error: initialization of ‘struct iterator_hstring *’ from incompatible pointer type ‘__FIIterator_1_HSTRING *’ [-Werror=incompatible-pointer-types]
> cc1: all warnings being treated as errors
> make: *** [Makefile:126989: dlls/windows.media.speech/tests/speech.cross.o] Error 1
> 

Sorry I missed it, I'll send an update.
-- 
Rémi Bernon <rbernon at codeweavers.com>



More information about the wine-devel mailing list