"Palisetti, Krishna_Mohan" <[EMAIL PROTECTED]> writes:
> "/u/palisetk/tmp/xerces-c-src_2_5_0/include/xercesc/internal/XSerializeE
> ngine.hpp", line 477: Error: Multiple declaration for
> xercesc_2_5::XSerializeEngine::operator<<(char).
> "/u/palisetk/tmp/xerces-c-src_2_5_0/include/xercesc/internal/XSerializeE
> ngine.hpp", line 497: Error: Multiple declaration for
> xercesc_2_5::XSerializeEngine::operator>>(char&).
> 2 Error(s) detected.
> 477 XSerializeEngine& operator<<(bool);
> 497 XSerializeEngine& operator>>(bool&);
Notice that it's declaring errors for operator>>(char&), but the
header files actually define the operartor for bool - this is a *very*
common problem with old Perl's - they were built with something aking
to:
#define bool char
So you will get this compile error.
If you modify Xerces.cpp around line 826, you should see a huge number
of #ifdef FOO => #undef FOO, just add this:
#ifdef bool
#undef bool
#endif /* bool */
and try compiling again.
Perl 5.6.1 is seriously old - I would consider getting it upgraded.
Cheers,
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]