[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 85076e0 7/8: Disable -Wunused-parameter warni
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 85076e0 7/8: Disable -Wunused-parameter warning in Boost.Numeric header |
Date: |
Mon, 19 Apr 2021 20:37:30 -0400 (EDT) |
branch: master
commit 85076e02249fa10cbe0ef38b20bf08f9cd7ee654
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Disable -Wunused-parameter warning in Boost.Numeric header
Surprisingly, this warning wasn't given by clang without -std=c++20
option but is (apparently correctly, because the parameter is actually
unused) given with it.
Just suppress it, as we don't care about harmless warnings in Boost
headers in any case.
---
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 005fb4b..5bff00d 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 "-Wunused-parameter"
# endif // defined LMI_CLANG
# include <boost/numeric/ublas/vector.hpp>
# if defined LMI_CLANG
- [lmi-commits] [lmi] master updated (9414edf -> 5aa44f4), Greg Chicares, 2021/04/19
- [lmi-commits] [lmi] master d9e35c2 2/8: Remove an unimportant comment, Greg Chicares, 2021/04/19
- [lmi-commits] [lmi] master 7f8f3e0 1/8: Fix defect introduced 20210418T2056Z: nonzero default value, Greg Chicares, 2021/04/19
- [lmi-commits] [lmi] master 85076e0 7/8: Disable -Wunused-parameter warning in Boost.Numeric header,
Greg Chicares <=
- [lmi-commits] [lmi] master a71c8cd 4/8: Use wxSizerFlags for creating the "About" dialog, Greg Chicares, 2021/04/19
- [lmi-commits] [lmi] master 3d3f40e 3/8: Update coding-rule exemptions, Greg Chicares, 2021/04/19
- [lmi-commits] [lmi] master 57f608a 5/8: Disable clang enum-related warnings in C++20 mode, Greg Chicares, 2021/04/19
- [lmi-commits] [lmi] master b538769 6/8: Use std::endian when using C++20, Greg Chicares, 2021/04/19
- [lmi-commits] [lmi] master 5aa44f4 8/8: Disable clang warnings about using volatile in C++20 mode, Greg Chicares, 2021/04/19