Ok here the modification I've made :

PlatformDefinitions.hpp :
> 61: #if defined (__BORLANDC__)
> 62: #include "BCPPDefinitions.hpp"
> 63: #elif defined(_MSC_VER)

I've created a file BCPPDefinition.hpp (copy of VCPPDefinition.hpp)
and added :
#define XALAN_XALANDOMCHAR_USHORT_MISMATCH

Here the error I have :

[C++ Error] ElemLiteralResult.cpp(227): E2285 Could not find a match for
'substring(const XalanDOMString,const unsigned int &)'

line 227 of ElemLiteralResult.cpp is

225: if (startsWith(theName, DOMServices::s_XMLNamespaceWithSeparator) ==
true)
226: {
227:    thePrefix = substring(theName,
DOMServices::s_XMLNamespaceWithSeparatorLength);
228: }


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 9:53 PM
Subject: Re: Compilation under Borland C++ Builder 5
> If you post the errors, perhaps we can help diagnose them.  One thing
> that's likely is you're missing some of the appropriate defines from the
> compiler definitions file.  I assume you copied the Visual C++ definitions
> file and used it as a model for the C++ Builder one?  Why don't you post
> the contents of that file?
>
> At the very least, you must make sure that
> XALAN_XALANDOMCHAR_USHORT_MISMATCH is defined, since Borland's wchar_t is
> not compatible with our XalanDOMChar type.
>
> Dave

> I'm trying to compile Xalan under C++ Builder 5 but I have a lot of
> problems with wide characters in the XalanDOMString implementation.
> Strange because Xerces 1.4.0 compile well.
> Christophe PARIS


Reply via email to