Hi Steven, Steven J. Hathaway <[email protected]> writes:
> A patch is required in order for XALAN-C 1.11 to use its C-APIs with > XERCES-C 3.0.1 using Microsoft C Compilers (not C++). > > Edit Section: Add test for (__cplusplus) > This prevents 'C' compilers from trying to invoke the 'namespace' commands. > I found this issue when trying to build XALAN-C XSLT ransformation using the > XALAN C-APIs with Microsoft C (not C++) compilation. Adding the test > for defined(__cplusplus) resolves the C language compatibility issue. I don't think this is the right thing to do. XercesDefs.hpp is a C++ header and is not meant to be included from C source. I suggest that you contact the XALAN-C developers about this. Boris -- Boris Kolpackov, Code Synthesis Tools http://codesynthesis.com/~boris/blog Open source XML data binding for C++: http://codesynthesis.com/products/xsd Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
