opensubscriber
   Find in this group all groups
 
Unknown more information…

x : xerces-p-dev@xml.apache.org 22 February 2005 • 12:11PM -0500

Re: Problem building XML::Xerces v2.5.0
by Jason E. Stewart

REPLY TO AUTHOR
 
REPLY TO GROUP




"Palisetti, Krishna_Mohan" <palisetk@desh...> 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: xerces-p-dev-unsubscribe@xml....
For additional commands, e-mail: xerces-p-dev-help@xml....

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.