[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master a88f402 5/6: Disable clang -Wdeprecated-copy
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master a88f402 5/6: Disable clang -Wdeprecated-copy warning in regex_iterator |
Date: |
Fri, 3 Apr 2020 18:51:39 -0400 (EDT) |
branch: master
commit a88f40208a6dc69372b670772b26a030fba32daf
Author: Vadim Zeitlin <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Disable clang -Wdeprecated-copy warning in regex_iterator
This is necessary to avoid the following
boost/regex/v4/regex_iterator.hpp:74:35: error: definition of implicit
copy constructor for 'regex_iterator_implementation<...>' is deprecated
because it has a user-declared copy assignment operator
error when compiling Boost.Regex code with clang 10.
---
boost_regex.hpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/boost_regex.hpp b/boost_regex.hpp
index 8e2f4b0..25d365e 100644
--- a/boost_regex.hpp
+++ b/boost_regex.hpp
@@ -27,6 +27,7 @@
#if defined __clang__
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wdeprecated-declarations"
+# pragma clang diagnostic ignored "-Wdeprecated-copy"
#elif defined __GNUC__
# pragma GCC diagnostic push
# if 7 <= __GNUC__
- [lmi-commits] [lmi] master updated (722704f -> c99481b), Greg Chicares, 2020/04/03
- [lmi-commits] [lmi] master 87aad3c 1/6: Fix bourn_cast test compilation with clang, Greg Chicares, 2020/04/03
- [lmi-commits] [lmi] master fe2e852 2/6: Assume that all integer types use two's complement representation, Greg Chicares, 2020/04/03
- [lmi-commits] [lmi] master cc1abb5 4/6: Add missing stream headers, Greg Chicares, 2020/04/03
- [lmi-commits] [lmi] master c99481b 6/6: Stop using std::bind{1st, 2nd}() removed from C++17, Greg Chicares, 2020/04/03
- [lmi-commits] [lmi] master ba745a4 3/6: Remove unused starts_with() function from PDF generation code, Greg Chicares, 2020/04/03
- [lmi-commits] [lmi] master a88f402 5/6: Disable clang -Wdeprecated-copy warning in regex_iterator,
Greg Chicares <=