[ 
https://issues.apache.org/jira/browse/XERCESC-2146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Mitz updated XERCESC-2146:
-------------------------------
    Description: Patch file attached.  (was: {{Index: 
src/xercesc/util/XMLExceptMsgs.hpp}}
{{===================================================================}}
{{--- src/xercesc/util/XMLExceptMsgs.hpp (revision 1831379)}}
{{+++ src/xercesc/util/XMLExceptMsgs.hpp (working copy)}}
{{@@ -9,7 +9,7 @@}}
{{ XERCES_CPP_NAMESPACE_BEGIN}}

{{ // Ignore warning about private constructor}}
{{-#ifdef __GNUC__}}
{{+#if defined __GNUC__ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 
5))}}
{{ # pragma GCC diagnostic push}}
{{ # pragma GCC diagnostic ignored "-Wctor-dtor-privacy"}}
{{ #endif}}
{{@@ -398,7 +398,7 @@}}
{{ XMLExcepts();}}
{{ };}}

{{-#ifdef __GNUC__}}
{{+#if defined __GNUC__ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 
5))}}
{{ # pragma GCC diagnostic pop}}
{{ #endif}}

{{Index: src/xercesc/util/XMLUni.hpp}}
{{===================================================================}}
{{--- src/xercesc/util/XMLUni.hpp (revision 1831379)}}
{{+++ src/xercesc/util/XMLUni.hpp (working copy)}}
{{@@ -36,7 +36,7 @@}}
{{ XERCES_CPP_NAMESPACE_BEGIN}}

{{ // Ignore warning about private constructor}}
{{-#ifdef __GNUC__}}
{{+#if defined __GNUC__ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 
5))}}
{{ # pragma GCC diagnostic push}}
{{ # pragma GCC diagnostic ignored "-Wctor-dtor-privacy"}}
{{ #endif}}
{{@@ -334,7 +334,7 @@}}
{{ XMLUni();}}
{{ };}}

{{-#ifdef __GNUC__}}
{{+#if defined __GNUC__ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 
5))}}
{{ # pragma GCC diagnostic pop}}
{{ #endif}}

{{Index: src/xercesc/util/Xerces_autoconf_config.hpp.cmake.in}}
{{===================================================================}}
{{--- src/xercesc/util/Xerces_autoconf_config.hpp.cmake.in (revision 1831379)}}
{{+++ src/xercesc/util/Xerces_autoconf_config.hpp.cmake.in (working copy)}}
{{@@ -92,7 +92,7 @@}}
{{ // 
---------------------------------------------------------------------------}}
{{ // Include standard headers, if available, that we may rely on below.}}
{{ // 
---------------------------------------------------------------------------}}
{{-#if defined(__cplusplus) && defined(HAVE_CSTDINT)}}
{{+#if defined(__cplusplus) && defined(XERCES_HAVE_CSTDINT)}}
{{ # include <cstdint>}}
{{ #endif}}
{{ #if XERCES_HAVE_STDINT_H}})

> Patch to build with older GCC
> -----------------------------
>
>                 Key: XERCESC-2146
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2146
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 3.2.0, 3.2.1, 3.2.2
>            Reporter: Adam Mitz
>            Priority: Major
>             Fix For: 3.2.3
>
>         Attachments: Xerces-GCC44.diff
>
>
> Patch file attached.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to