Fixes C++ warning.
Signed-off-by: Jacek Caban <jacek(a)codeweavers.com>
---
mingw-w64 does the same as this patch. PSDK uses an unnamed struct (but
cl doesn't emit a warning).
The warning is:
In file included from /home/jacek/wine/wine-git/include/wtypes.h:8:0,
from /home/jacek/wine/wine-git/include/winscard.h:22,
from /home/jacek/wine/wine-git/include/windows.h:70,
from test.cpp:2:
/home/jacek/wine/wine-git/include/rpcndr.h:188:…
[View More]16: warning:
‘_MIDL_STUB_MESSAGE’ has a field
‘_MIDL_STUB_MESSAGE::SavedContextHandles’ whose type depends on the type
‘<unnamed struct>’ which has no linkage [-Wsubobject-linkage]
typedef struct _MIDL_STUB_MESSAGE
^~~~~~~~~~~~~~~~~~
/home/jacek/wine/wine-git/include/rpcndr.h:491:16: warning:
‘_SCONTEXT_QUEUE’ has a field ‘_SCONTEXT_QUEUE::ArrayOfObjects’ whose
type depends on the type ‘<unnamed struct>’ which has no linkage
[-Wsubobject-linkage]
typedef struct _SCONTEXT_QUEUE {
^~~~~~~~~~~~~~~
include/rpcndr.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[View Less]