Anilkumar DK wrote:
Hi,

We were using Xerces1.7 with our application and now we are moving to
Xerces2.8. We are able to build Xercers2.8 libraries on Solaris 8 with
Compiler: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-24 2006/11/03

But when we integrate with our application using the Xerces 2.8 headers,
we get compilation errors as below.

We tried to undef the MACRO XERCES_HAS_CPP_NAMESPACE but didn't help.
Please let us know your suggestions to resolve this issue.
Are you sure this isn't a bug in your own code or in how you're including the header files? If the Xerces-C library and sample applications build, then there's nothing wrong with the Xerces-C code or the compiler.

I suggest you take a look at the C++ preprocessor output so you can see the actual source code the compiler is working on.

Dave

Reply via email to