[
https://issues.apache.org/jira/browse/XALANC-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035726#comment-13035726
]
Steven J. Hathaway commented on XALANC-708:
-------------------------------------------
Apply the "my-jira-708.diff" difference file as a patch to resolve this issue.
Affected Files:
trunk/src/xalanc/Include/PlatformDefinitions.hpp
> 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
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]