lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 2663129 24/30: Ignore more warnings in Boost.


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 2663129 24/30: Ignore more warnings in Boost.Regex headers with clang
Date: Wed, 24 Mar 2021 15:31:10 -0400 (EDT)

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

    Ignore more warnings in Boost.Regex headers with clang
    
    We don't care about the warnings, so just disable them.
---
 boost_regex.hpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/boost_regex.hpp b/boost_regex.hpp
index 70f5ca9..c87e093 100644
--- a/boost_regex.hpp
+++ b/boost_regex.hpp
@@ -26,8 +26,12 @@
 
 #if defined __clang__
 #   pragma clang diagnostic push
+#   pragma clang diagnostic ignored "-Wchar-subscripts"
 #   pragma clang diagnostic ignored "-Wdeprecated-declarations"
 #   pragma clang diagnostic ignored "-Wdeprecated-copy"
+#   pragma clang diagnostic ignored "-Wkeyword-macro"
+#   pragma clang diagnostic ignored "-Wparentheses-equality"
+#   pragma clang diagnostic ignored "-Wregister"
 #elif defined __GNUC__
 #   pragma GCC diagnostic push
 #   if 7 <= __GNUC__



reply via email to

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