Alistair Leslie-Hughes leslie_alistair@hotmail.com writes:
Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com
dlls/dpnet/server.c | 14 ++++++- dlls/dpnet/tests/server.c | 86 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+), 2 deletions(-)
It doesn't build:
i686-w64-mingw32-gcc -c -o dlls/dpnet/tests/server.cross.o dlls/dpnet/tests/server.c -Idlls/dpnet/tests -Iinclude \ -Iinclude/msvcrt -D__WINESRC__ -D_MSVCR_VER=0 -DWINE_CROSS_PE -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-2 -gstrict-dwarf -Werror -g -O2 -fno-diagnostics-show-caret In file included from dlls/dpnet/tests/server.c:22: dlls/dpnet/tests/server.c: In function ‘func_server’: include/dplay8.h:706:65: error: ‘serv_prov_info’ may be used uninitialized in this function [-Werror=maybe-uninitialized] dlls/dpnet/tests/server.c:189:32: note: ‘serv_prov_info’ was declared here cc1: all warnings being treated as errors make: *** [Makefile:51493: dlls/dpnet/tests/server.cross.o] Error 1