lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 91116f9 14/30: Suppress -Wdeprecated-copy in


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 91116f9 14/30: Suppress -Wdeprecated-copy in Boost headers for gcc9 too
Date: Wed, 24 Mar 2021 15:31:09 -0400 (EDT)

branch: master
commit 91116f9d91a0af2ac367c8da1267f8c8d9912bbc
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Suppress -Wdeprecated-copy in Boost headers for gcc9 too
    
    This warning, disabled for gcc10 in 7e6891527 (Disable deprecated copy
    ctor warning in Boost.Regex for gcc10, 2020-05-10), actually appeared in
    gcc9, so disable it for this compiler version too.
---
 boost_regex.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/boost_regex.hpp b/boost_regex.hpp
index 266351f..70f5ca9 100644
--- a/boost_regex.hpp
+++ b/boost_regex.hpp
@@ -34,9 +34,9 @@
 #       pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
 #       pragma GCC diagnostic ignored "-Wregister"
 #   endif // 7 <= __GNUC__
-#   if 10 <= __GNUC__
+#   if 9 <= __GNUC__
 #       pragma GCC diagnostic ignored "-Wdeprecated-copy"
-#   endif // 10 <= __GNUC__
+#   endif // 9 <= __GNUC__
 #   pragma GCC diagnostic ignored "-Wshadow"
 #   pragma GCC diagnostic ignored "-Wswitch-enum"
 #   pragma GCC diagnostic ignored "-Wuseless-cast"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]