[Wine] Can Winelib work with VC 10 code?
jaytirth
wineforum-user at winehq.org
Thu Mar 10 01:20:22 CST 2011
I have a VC 10 project ( .vcxproj ) that I want to port with winelib. Does winelib support it?
I am getting the following errors even after importing the relevant libraries
winegcc -c -mno-cygwin -I. -o Connect_i.o Connect_i.c
Connect_i.c:68:8: warning: extra tokens at end of #endif directive
winegcc -c -mno-cygwin -I. -o Connect_p.o Connect_p.c
In file included from Connect_p.c:50:
Connect.h:112: error: expected declaration specifiers or ... before __RPC__deref_out
Connect.h:246: error: expected declaration specifiers or ... before __RPC__deref_out
Connect_p.c:113: error: static declaration of Connect__MIDL_ProcFormatString follows non-static declaration
Connect_p.c:82: error: previous declaration of Connect__MIDL_ProcFormatString was here
Connect_p.c:239: error: static declaration of Connect__MIDL_TypeFormatString follows non-static declaration
Connect_p.c:81: error: previous declaration of Connect__MIDL_TypeFormatString was here
Connect_p.c:277: error: static declaration of IRandom_ProxyInfo follows non-static declaration
Connect_p.c:90: error: previous declaration of IRandom_ProxyInfo was here
Connect_p.c:288: error: static declaration of IRandom_ServerInfo follows non-static declaration
Connect_p.c:89: error: previous declaration of IRandom_ServerInfo was here
Connect_p.c:321: warning: initialization from incompatible pointer type
Connect_p.c:322: warning: initialization from incompatible pointer type
Connect_p.c:324: warning: initialization from incompatible pointer type
Connect_p.c:349: error: static declaration of IRandomEvent_ProxyInfo follows non-static declaration
Connect_p.c:97: error: previous declaration of IRandomEvent_ProxyInfo was here
Connect_p.c:360: error: static declaration of IRandomEvent_ServerInfo follows non-static declaration
Connect_p.c:96: error: previous declaration of IRandomEvent_ServerInfo was here
Connect_p.c:392: warning: initialization from incompatible pointer type
Connect_p.c:403: error: static declaration of Object_StubDesc follows non-static declaration
Connect_p.c:93: error: previous declaration of Object_StubDesc was here
I would appreciate if somebody helps me on this.
More information about the wine-users
mailing list