2009-06-28, 21:10
So I waited a few days before posting this in case it was something b0rked in svn that got fixed in short order.. but this looks like it's just affecting me, and I'll be damned if I can figure out why - it certainly doesn't seem to be stopping TheQuestor building his nightlies.
The change that seems to have broken things for me is r21196's changes to tinyxmlparser.cpp
Specifically compilation stops with the following:
Which is this section of code:
I've checked and I do seem to have the latest libiconv installed - the only departure from README.osx is that I don't install with +universal or use 10.4 headers as I only intend to use the builds on my 10.5 machines - and perhaps that's causing a difference?
Editing the code above so that when __APPLE__ is defined we use the same definition for ibuf as _LINUX, everything compiles fine..
For reference, here's my port installed output.
Any clues appreciated, it's doing my nut
The change that seems to have broken things for me is r21196's changes to tinyxmlparser.cpp
Specifically compilation stops with the following:
Code:
/Users/aaronjb/Development/xbmc/XBMC/guilib/tinyXML/tinyxmlparser.cpp:657: error: invalid conversion from 'const char**' to 'char**'
/Users/aaronjb/Development/xbmc/XBMC/guilib/tinyXML/tinyxmlparser.cpp:657: error: initializing argument 2 of 'size_t libiconv(void*, char**, size_t*, char**, size_t*)'
Which is this section of code:
Code:
#if defined(_LINUX) and !defined(__APPLE__)
char* ibuf = (char*) text->c_str();
#else
const char* ibuf = (const char*) text->c_str();
#endif
if (iconv(document->iconvContext, &ibuf, &ilen, &obuf, &olen) == (size_t) -1)
I've checked and I do seem to have the latest libiconv installed - the only departure from README.osx is that I don't install with +universal or use 10.4 headers as I only intend to use the builds on my 10.5 machines - and perhaps that's causing a difference?
Editing the code above so that when __APPLE__ is defined we use the same definition for ibuf as _LINUX, everything compiles fine..
For reference, here's my port installed output.
Any clues appreciated, it's doing my nut