You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Scott Cantor (Jira)" <xe...@xml.apache.org> on 2019/12/09 17:57:00 UTC

[jira] [Updated] (XERCESC-2146) Patch to build with older GCC

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

Scott Cantor updated XERCESC-2146:
----------------------------------
    Affects Version/s: 3.2.0
                       3.2.2

> 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
>
> {{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}}



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

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