lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master e5160fe 20/28: Revert "Add workaround for Boo


From: Greg Chicares
Subject: [lmi-commits] [lmi] master e5160fe 20/28: Revert "Add workaround for Boost.Regex compilation with clang 11"
Date: Wed, 12 May 2021 18:14:45 -0400 (EDT)

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

    Revert "Add workaround for Boost.Regex compilation with clang 11"
    
    This reverts commit f62151ab4a23429fb05466f203fb937683907395 because it
    will be superseded by an alternative change in configure.ac in the next
    commit and is incompatible with it, as doing it both on the compiler
    command line and here would result in a -Wmacro-redefined.
---
 boost_regex.hpp | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/boost_regex.hpp b/boost_regex.hpp
index a273cb2..c69fc7e 100644
--- a/boost_regex.hpp
+++ b/boost_regex.hpp
@@ -32,14 +32,6 @@
 #   pragma clang diagnostic ignored "-Wkeyword-macro"
 #   pragma clang diagnostic ignored "-Wparentheses-equality"
 #   pragma clang diagnostic ignored "-Wregister"
-
-    // libc++ used by clang 11 requires defining this symbol in order to define
-    // std::allocator::size_type, which is still used by Boost code even when
-    // BOOST_NO_STD_ALLOCATOR is defined. Surprisingly, this type definition is
-    // unconditional in libc++ 12, so this might have been a mistake in this
-    // particular libc++ version, but it's still simpler to work around it
-    // unconditionally rather than try to detect the exact libc++ version.
-#   define _LIBCPP_ENABLE_CXX20_REMOVED_ALLOCATOR_MEMBERS
 #endif // defined LMI_CLANG
 #if defined LMI_GCC
 #   pragma GCC diagnostic push



reply via email to

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