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.
On Thu, 2011-03-10 at 01:20 -0600, jaytirth wrote:> 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 >.....> I would appreciate if somebody helps me on this. >Those look like the sort of errors you often get when porting source to a different compiler with more rigorous code checking. Work through your code and fix the problems flagged up by winegcc: the result should be cleaner source, so consider merging it back into the original project codebase. Martin