lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 2808a1b 13/28: Use consistent flags for Boost


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 2808a1b 13/28: Use consistent flags for Boost.Regex build in the CI job
Date: Wed, 12 May 2021 18:14:44 -0400 (EDT)

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

    Use consistent flags for Boost.Regex build in the CI job
    
    Define BOOST_NO_STD_ALLOCATOR for consistency with the main lmi code.
    
    Also use -Wregister rather than the hack with defining "register" as
    nothing.
---
 .github/workflows/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3ba34d4..7c54c24 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -197,7 +197,7 @@ jobs:
         if: matrix.autotools
         run: |
           # Define flags to avoid warnings in Boost code we don't care about.
-          boost_cxxflags="-Wno-deprecated-declarations -DBOOST_NO_AUTO_PTR 
-Dregister="
+          boost_cxxflags="-Wno-deprecated-declarations -Wno-register 
-DBOOST_NO_AUTO_PTR -DBOOST_NO_STD_ALLOCATOR"
           if [ "${{ matrix.compiler }}" = clang ]; then
             boost_cxxflags="${boost_cxxflags} -Wno-parentheses-equality"
           fi



reply via email to

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