lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 05bdf20 5/5: Define BOOST_NO_STD_ALLOCATOR to


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 05bdf20 5/5: Define BOOST_NO_STD_ALLOCATOR to build Boost.Regex in C++20
Date: Thu, 14 May 2020 17:33:11 -0400 (EDT)

branch: master
commit 05bdf209bb9d5f3472907026533223b221a459d1
Author: Vadim Zeitlin <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Define BOOST_NO_STD_ALLOCATOR to build Boost.Regex in C++20
    
    Without this definition, Boost.Regex code tries to use
    std::allocator::const_reference which was removed in C++20.
    
    As we don't use custom allocators anyhow, just disable their use to fix
    this.
---
 workhorse.make | 1 +
 1 file changed, 1 insertion(+)

diff --git a/workhorse.make b/workhorse.make
index 622284b..167a2db 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -860,6 +860,7 @@ REQUIRED_CPPFLAGS = \
   $(wx_predefinitions) \
   -D_FILE_OFFSET_BITS=64 \
   -DBOOST_NO_AUTO_PTR \
+  -DBOOST_NO_STD_ALLOCATOR \
   -DBOOST_STRICT_CONFIG \
   -DBOOST_STATIC_ASSERT_HPP \
 



reply via email to

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