[PATCH v3 3/5] quartz/tests: Use BaseOutputPinImpl_AttemptConnection().
Zebediah Figura
z.figura12 at gmail.com
Mon Feb 3 14:17:07 CST 2020
On 2/3/20 12:26 PM, Alexandre Julliard wrote:
> Zebediah Figura <z.figura12 at gmail.com> writes:
>
>> Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
>> ---
>> dlls/quartz/tests/videorenderer.c | 21 ++++-----------------
>> dlls/quartz/tests/vmr7.c | 21 ++++-----------------
>> dlls/quartz/tests/vmr9.c | 22 ++++------------------
>> 3 files changed, 12 insertions(+), 52 deletions(-)
>
> i686-w64-mingw32-gcc -c -o videorenderer.cross.o videorenderer.c -I. -I../../../include -I../../../include/msvcrt -D__WINESRC__ \
> -DWINE_CROSS_PE -Wall -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
> -Wignored-qualifiers -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \
> -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
> -fno-omit-frame-pointer -gdwarf-2 -gstrict-dwarf -Werror -g -O2 -fno-diagnostics-show-caret -Wno-format-overflow
> videorenderer.c:536:27: error: initialization of ‘HRESULT (__attribute__((stdcall)) *)(struct strmbase_source *, IMemInputPin *, IMemAllocator **)’ from incompatible pointer type ‘HRESULT (__attribute__((stdcall)) *)(struct strmbase_source *, IPin *, const AM_MEDIA_TYPE *)’ [-Werror=incompatible-pointer-types]
> videorenderer.c:536:27: note: (near initialization for ‘testsource_ops.pfnDecideAllocator’)
> cc1: all warnings being treated as errors
>
> There are other warnings too. Please always check for compiler warnings
> or use -Werror.
>
Sorry for sloppiness, I noticed this but forgot to fix it. Resent.
More information about the wine-devel
mailing list