Jason,

Should XML-Xerces-2.0.0-3 work?  I can't build it.  This is gcc-3.2,
perl-5.6.1, xerces-c-2.2.0.  I tried Linux and Cygwin, I get the same
parse errors in Handler/PerlContentCallbackHandler.hpp.  (This appears
to go all wrong before any xercesc or perl includes, so I don't think
their versions matter.)

Here is the error:

$ make
make -C Handler static
make[1]: Entering directory `/home/david/src/xml/XML-Xerces-2.0.0-3/Handler'
gcc -c -I. -IHandler -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include 
-DUSEIMPORTLIB -O2   -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"  
-I/usr/lib/perl5/5.6.1/cygwin-multi/CORE  PerlContentCallbackHandler.cpp
In file included from PerlContentCallbackHandler.hpp:4,
                 from PerlContentCallbackHandler.cpp:2:
PerlCallbackHandler.hpp:51:8: warning: extra tokens at end of #endif directive
In file included from PerlContentCallbackHandler.cpp:2:
PerlContentCallbackHandler.hpp:10: base class `ContentHandler' has incomplete 
   type
PerlContentCallbackHandler.hpp:27: parse error before `&' token
PerlContentCallbackHandler.hpp:40: parse error before `*' token
PerlContentCallbackHandler.cpp:40: parse error before `&' token
...
(and loads more error messages)

Replacing gcc by g++ doesn't help, in case someone was about to
suggest that. :-)

I'm sorry but I'm no C++ programmer, so I don't know how to proceed.

Thanks for your help.

Kind regards,
David

 -------------------------------------------------------------------
  David Starks-Browning                  | [EMAIL PROTECTED]
  EMBL Outstation --                     |
  The European Bioinformatics Institute  |
  Wellcome Trust Genome Campus           | tel: +44 (1223) 494 616
  Hinxton, Cambridge, CB10 1SD, UK       | fax: +44 (1223) 494 468
 -------------------------------------------------------------------


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

Reply via email to