[ https://issues.apache.org/jira/browse/XALANC-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17811550#comment-17811550 ]
Joe Kesselman commented on XALANC-708: -------------------------------------- Note that Xalan-C has been moved to the Apache Attic. It was based on a now-ancient version of Xalan, and does not have anyone currently maintaining it. Frankly. I'd suggest that if someone wanted to revive it a fresh port from Java might be wiser. Or perhaps another complete architectural cleanup of both. > Including XalanCAPI.hpp does not import Xerces typedef XMLch > ------------------------------------------------------------ > > Key: XALANC-708 > URL: https://issues.apache.org/jira/browse/XALANC-708 > Project: XalanC > Issue Type: Bug > Components: XalanC > Affects Versions: CurrentCVS > Environment: Use 'C' compiler with (__cplusplus) undefined and > #include <xalanc/XalanTransformer/XalanCAPI.hpp> > Reporter: Steven J. Hathaway > Assignee: Steven J. Hathaway > Priority: Major > Labels: XalanCAPI, build > Attachments: my-jira-708.diff > > > The #include <xalanc/Include/PlatformDefinitions.hpp> is invoked and fails to > resolve the Xerces typedef XMLch. > The following edit resolves the issue: > --- trunk/src/xalanc/Include/PlatformDefinitions.hpp 2011-04-25 > 14:11:27.000000000 -0700 > +++ PlatformDefinitions.hpp 2011-05-02 11:25:51.000000000 -0700 > @@ -14,13 +14,18 @@ > * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. > * See the License for the specific language governing permissions and > * limitations under the License. > */ > + > #if !defined(PLATFORMDEFINITIONS_HEADER_GUARD_1357924680) > #define PLATFORMDEFINITIONS_HEADER_GUARD_1357924680 > > #if defined(__cplusplus) > -#include "xercesc/util/XercesDefs.hpp" > +# include "xercesc/util/XercesDefs.hpp" > +#else > +/* Include autoconf to define XMLCh when XercesDefs is bypassed */ > +# include "xercesc/util/Xerces_autoconf_config.hpp" > +# include "xercesc/util/XercesVersion.hpp" > #endif > > #if defined(_MSC_VER) > #include "VCPPDefinitions.hpp" -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org For additional commands, e-mail: dev-h...@xalan.apache.org