cinder/Cinder — pull request #105 by RandomEtc (2011-10-15 00:21:13+00:00)
Title: Tentative fixes for iOS 5 SDK.

These fixes are tested with XCode 4.2 (4D199) on Mac OS Lion
10.7.2 and an iPad 1 running iOS 5.0 (9A334).

Apple's LLVM compiler is the default for iOS development now and
it seems to be a bit picky about certain things.

- In CinderCocoa.mm, SafeNsString gives errors in the shared_ptr
template instantiation. This is fixed by removing the use of
const. Not sure how correct the fix is though.

- In rapidxml_print.hpp, the internal printings operations
couldn't all find each other. This is fixed by moving
print_node to last place and foreward declaring it before the
other print functions.

Thanks to @notlion for figuring out the SafeNsString fix.