我正在尝试编译XERCES站点上提供的以下示例代码:// Other include files, declarations, and non-Xerces-C++ initializations.{ XMLPlatformUtils::Initialize();
catch (const XMLException& toCatc
我正在将使用Xerces-c进行XML处理的代码库从Windows/VC++移植到Linux/G++。
在Windows上,Xerces-c使用wchar_t作为字符类型XmlCh。在Linux/G++上,wchar_t为32位,Xerces-c使用unsigned short int (16位)作为字符类型XmlCh.但在我这么做之前,我想问是否有人知道一个更明智的方法来编写跨平台Xerces-c代码。