From: Paul S. <pa...@st...> - 2002-06-25 01:19:24
|
I recall someone saying they were getting Pro 8 soon.... The current projects (I've only gotten as far as zac so far) won't compile as CVS-ed. MetroWerks has changed the STL part of MSL (see the release notes for the details.) I spent a morning on this one in my company's product already this week. In ZFileTrail::sTrailFromTo(): if (matchUntil < iDest.size()) theTrail.AppendTrail((iDest.begin() + matchUntil).base(), iDest.size() - matchUntil); Adding ".base()" fixes the problem, which seems to involve getting a pointer to data out of an iterator. This shouldn't be necessary and the reason isn't obvious from the MSL source. I 'm working on a bug report for this one: I'm no STL expert and I'd rather theirs figured it out. My fix may affect CW7 and earlier (haven't tried it.) #defining _MSL_RAW_ITERATORS to disable the change also works but requires recompiling MSL. Pro8 also seems to have tightened the rules about implicit casting (saw this at work too.) Two errors are in ZASCompilerCW.cpp: static ZFileSpec sFromCWFileSpec(const CWFileSpec& inSpec) and static CWFileSpec sFromZFileSpec(const ZFileSpec& inSpec) Involve casting between ZFileLoc, CWFileSpec, and ZFileLoc_Mac_FSSpec. Still playing with this (don't have the classes completely figured out yet.) If I can get this going I'm going to try building the examples tonight. Stand by. Paul |