rpcrt4: Use standard Wine list to store connections in RpcServerProtseq.

Alexandre Julliard julliard at winehq.org
Mon May 15 13:50:20 CDT 2017


Jacek Caban <jacek at codeweavers.com> writes:

> Signed-off-by: Jacek Caban <jacek at codeweavers.com>
> ---
>  dlls/rpcrt4/rpc_binding.h   |   2 +-
>  dlls/rpcrt4/rpc_server.c    |  18 ++++----
>  dlls/rpcrt4/rpc_server.h    |   2 +-
>  dlls/rpcrt4/rpc_transport.c | 110
> +++++++++++++++-----------------------------
>  4 files changed, 50 insertions(+), 82 deletions(-)

This breaks the Windows build:

i686-w64-mingw32-gcc -c -o rpc_transport.o ../../../wine/dlls/rpcrt4/rpc_transport.c -I. -I../../../wine/dlls/rpcrt4 \
  -I../../include -I../../../wine/include -D__WINESRC__ -D_RPCRT4_ -DMSWMSG -D_REENTRANT -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer \
  -g -O2 -fno-diagnostics-show-caret -D_WIN32
In file included from ../../../wine/include/windef.h:266:0,
                 from ../../../wine/include/windows.h:37,
                 from ../../../wine/include/winsock.h:110,
                 from ../../../wine/include/winsock2.h:47,
                 from ../../../wine/include/ws2tcpip.h:22,
                 from ../../../wine/dlls/rpcrt4/rpc_transport.c:40:
../../../wine/dlls/rpcrt4/rpc_transport.c: In function ‘rpcrt4_protseq_sock_get_wait_array’:
../../../wine/dlls/rpcrt4/rpc_transport.c:1767:37: error: ‘RpcServerProtseq {aka struct _RpcServerProtseq}’ has no member named ‘conn’
../../../wine/include/winnt.h:760:21: note: in definition of macro ‘CONTAINING_RECORD’
../../../wine/dlls/rpcrt4/rpc_transport.c:1772:46: error: ‘RpcConnection {aka struct _RpcConnection}’ has no member named ‘Next’; did you mean ‘exp’?
../../../wine/include/winnt.h:760:21: note: in definition of macro ‘CONTAINING_RECORD’
../../../wine/dlls/rpcrt4/rpc_transport.c:1789:37: error: ‘RpcServerProtseq {aka struct _RpcServerProtseq}’ has no member named ‘conn’
../../../wine/include/winnt.h:760:21: note: in definition of macro ‘CONTAINING_RECORD’
../../../wine/dlls/rpcrt4/rpc_transport.c:1803:46: error: ‘RpcConnection {aka struct _RpcConnection}’ has no member named ‘Next’; did you mean ‘exp’?
../../../wine/include/winnt.h:760:21: note: in definition of macro ‘CONTAINING_RECORD’
../../../wine/dlls/rpcrt4/rpc_transport.c: In function ‘rpcrt4_protseq_sock_wait_for_new_connection’:
../../../wine/dlls/rpcrt4/rpc_transport.c:1846:41: error: ‘RpcServerProtseq {aka struct _RpcServerProtseq}’ has no member named ‘conn’
../../../wine/include/winnt.h:760:21: note: in definition of macro ‘CONTAINING_RECORD’
../../../wine/dlls/rpcrt4/rpc_transport.c:1850:50: error: ‘RpcConnection {aka struct _RpcConnection}’ has no member named ‘Next’; did you mean ‘exp’?
../../../wine/include/winnt.h:760:21: note: in definition of macro ‘CONTAINING_RECORD’
Makefile:737: recipe for target 'rpc_transport.o' failed

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list