[PATCH v2 2/6] quartz/vmr9: Determine the D3D format and flags from the subtype.

Alexandre Julliard julliard at winehq.org
Thu Mar 19 07:10:04 CDT 2020

Zebediah Figura <z.figura12 at gmail.com> writes:

> Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
> ---
>  dlls/quartz/tests/vmr9.c | 16 +++----
>  dlls/quartz/vmr9.c       | 94 ++++++++++++++++++++++++++++------------
>  2 files changed, 73 insertions(+), 37 deletions(-)

i686-w64-mingw32-gcc -c -o vmr9.cross.o vmr9.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
vmr9.c: In function ‘VMR9_maybe_init’:
vmr9.c:374:13: error: ‘hr’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
cc1: all warnings being treated as errors
make: *** [Makefile:811: vmr9.cross.o] Error 1

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list