[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 3aaeeb6 1/3: Add clang pragmata for a unit te
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 3aaeeb6 1/3: Add clang pragmata for a unit test |
Date: |
Sat, 4 Apr 2020 20:10:07 -0400 (EDT) |
branch: master
commit 3aaeeb69bb85949e173baaa169d38ca6908e55e0
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Add clang pragmata for a unit test
See:
https://lists.nongnu.org/archive/html/lmi/2020-04/msg00003.html
---
expression_template_0_test.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/expression_template_0_test.cpp b/expression_template_0_test.cpp
index 2d5c203..809e81a 100644
--- a/expression_template_0_test.cpp
+++ b/expression_template_0_test.cpp
@@ -43,7 +43,14 @@
#include "timer.hpp"
#if defined USE_UBLAS
+# if defined __clang__
+# pragma clang diagnostic push
+# pragma clang diagnostic ignored "-Wdeprecated-copy"
+# endif
# include <boost/numeric/ublas/vector.hpp>
+# if defined __clang__
+# pragma clang diagnostic pop
+# endif
#endif // defined USE_UBLAS
#include <algorithm>