[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH] d3dcompiler: Store some builtin types in the hlsl_ctx structure.
From:       Matteo Bruni <matteo.mystral () gmail ! com>
Date:       2020-05-30 16:55:31
Message-ID: CABvNrtOOJ4HvwxgfimQsCAHWuXOvrWBC1B3JyiMWZBxVO0VpBw () mail ! gmail ! com
[Download RAW message or body]

On Sat, May 30, 2020 at 5:43 PM Alexandre Julliard <julliard@winehq.org> wrote:
> 
> Matteo Bruni <mbruni@codeweavers.com> writes:
> 
> > From: Zebediah Figura <z.figura12@gmail.com>
> > 
> > Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
> > Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
> > ---
> > dlls/d3dcompiler_43/d3dcompiler_private.h |   8 ++
> > dlls/d3dcompiler_43/hlsl.y                | 132 +++++++++++-----------
> > 2 files changed, 76 insertions(+), 64 deletions(-)
> 
> This causes compiler warnings:
> 
> i686-w64-mingw32-gcc -c -o utils.cross.o ../d3dcompiler_43/utils.c -I. \
>                 -I../d3dcompiler_43 -I../../include \
> -I../../include/msvcrt -D__WINESRC__ -DD3D_COMPILER_VERSION=33 -D_UCRT \
>                 -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
> ../d3dcompiler_43/utils.c: In function ‘debug_base_type':
> ../d3dcompiler_43/utils.c:1708:13: error: enumeration value \
>                 ‘HLSL_SAMPLER_DIM_COUNT' not handled in switch [-Werror=switch]
> cc1: all warnings being treated as errors
> make[1]: *** [Makefile:438: utils.cross.o] Error 1

Somehow I missed it, and I was looking specifically for this...

Please ignore this one for now, I guess.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic