[ https://issues.apache.org/jira/browse/XALANC-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven J. Hathaway resolved XALANC-708. --------------------------------------- Resolution: Fixed Assignee: Steven J. Hathaway > 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 > 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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org For additional commands, e-mail: xalan-dev-h...@xml.apache.org