#13000: wine build incompatible with iPhone SDK
---------------------------------+------------------------------------------
Reporter:
tannhaus@... | Owner:
ryandesign@...
Type: defect | Status: reopened
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.2
Resolution: | Keywords:
---------------------------------+------------------------------------------
Comment (by
gravydish@...):
I was able to fix this by initializing variables in
dlls/crtdll/crtdll_main.c, @line 40:
from:
{{{
unsigned int CRTDLL__basemajor_dll;
unsigned int CRTDLL__baseminor_dll;
unsigned int CRTDLL__baseversion_dll;
unsigned int CRTDLL__cpumode_dll;
unsigned int CRTDLL__osmajor_dll;
unsigned int CRTDLL__osminor_dll;
unsigned int CRTDLL__osmode_dll;
unsigned int CRTDLL__osversion_dll;
}}}
to:
{{{
unsigned int CRTDLL__basemajor_dll=0;
unsigned int CRTDLL__baseminor_dll=0;
unsigned int CRTDLL__baseversion_dll=0;
unsigned int CRTDLL__cpumode_dll=0;
unsigned int CRTDLL__osmajor_dll=0;
unsigned int CRTDLL__osminor_dll=0;
unsigned int CRTDLL__osmode_dll=0;
unsigned int CRTDLL__osversion_dll=0;
}}}
Compilation then contiunes down to msvcrt.dll, where it bombs with similar
errors. Again, initializing uninitialized variables seems to allow the
compiler to continue.
I would agree it's probably a compiler issue.
--
Ticket URL: <
http://trac.macports.org/ticket/13000#comment:48>
MacPorts <
http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets