"Derek Fountain" <[EMAIL PROTECTED]> writes:

> > Note the last two characters - the Perl code wants Fc, while the
> > library is providing Fi. I'm a bit out of my depth on this, but I
> > think that means the
> 
> I still think this bool-is-an-int in Xerces-C and bool-is-a-char in the Perl 
> code is the problem. In the Xerces.C file we have:
> 
> ===
> XS(_wrap_XMLURL_equal_to) {
>     XMLURL *arg0 ;
>     XMLURL *arg1 ;
>     int argvi = 0;
>     bool result ;
> ===
> 
> running that through the preprocessor gives:
> 
> ===
> void _wrap_XMLURL_equal_to( CV* cv) {
>     XMLURL *arg0 ;
>     XMLURL *arg1 ;
>     int argvi = 0;
>     char result ;
> ===

Good detective work, derek. This is most definately the problem. Perl
thinks your bool's should be char's, and Xerces-C thinks they should
be int's. Try adding -Dbool=int to the CFLAGS in your Makefile.PL and
recompile Xerces.pm.

You want to convince them to both use the same encoding, so you either
get Xerces-C to accept bool=char, or the other way 'round.

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to