On Friday 7 Mar 03, David Starks-Browning writes: > 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.)
OK, I guess (from Martin Raspe's recent message) that one cannot build XML-Xerces-2.0.0 against xerces-c-2.2.0 unless you run SWIG on it. Meanwhile, the compile errors I report below are indeed fixed by Martin's changes to Handler/PerlContentCallbackHandler.hpp et al. (Thanks Martin!) But without re-running SWIG, of course I cannot compile Xerces.C, so that's as far as I've gotten. BTW, I am not able to try this on xerces-c-2.0.0 (for which XML-Xerces-2.0.0-3 should work, right?) because I cannot build that version of xerces-c. At least, not with gcc-3.2 on Linux. I've never even looked at SWIG before so it might be some time before I can proceed further. Thanks, David > 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 > ... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
