lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 2213a23 22/28: Disable clang deprecated decla


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 2213a23 22/28: Disable clang deprecated declarations warnings in uBLAS headers
Date: Wed, 12 May 2021 18:14:46 -0400 (EDT)

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

    Disable clang deprecated declarations warnings in uBLAS headers
    
    They are given for std::allocator::construct() used in them when using
    C++17 and later.
---
 expression_template_0_test.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/expression_template_0_test.cpp b/expression_template_0_test.cpp
index 5bff00d..d98bdf6 100644
--- a/expression_template_0_test.cpp
+++ b/expression_template_0_test.cpp
@@ -48,6 +48,7 @@
 #   if defined LMI_CLANG
 #       pragma clang diagnostic push
 #       pragma clang diagnostic ignored "-Wdeprecated-copy"
+#       pragma clang diagnostic ignored "-Wdeprecated-declarations"
 #       pragma clang diagnostic ignored "-Wunused-parameter"
 #   endif // defined LMI_CLANG
 #   include <boost/numeric/ublas/vector.hpp>



reply via email to

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