I'm having trouble compiling this for android:
string buffer = readString(m_paths[SCREEN]);
if (buffer != "")
{
//Read full buffer
xml_document<> doc;
doc.parse<0>((char*)buffer.c_str());
}
It works well on VS2010 but for some reason its failing in the ndk, it returns this error:
error:exception handling disabled, use -fexceptions to enable
I've searched and I found this: RapidXML compilation error parsing string
I've tried it but it also doesn't work.