File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 3
3
// https://www.boost.org/LICENSE_1_0.txt
4
4
5
5
#include < boost/decimal.hpp>
6
+
7
+ // Propogates up from boost.math
8
+ #define _SILENCE_CXX23_DENORM_DEPRECATION_WARNING
9
+
10
+ #if defined(__clang__)
11
+ # pragma clang diagnostic push
12
+ # pragma clang diagnostic ignored "-Wold-style-cast"
13
+ # pragma clang diagnostic ignored "-Wundef"
14
+ # pragma clang diagnostic ignored "-Wconversion"
15
+ # pragma clang diagnostic ignored "-Wsign-conversion"
16
+ # pragma clang diagnostic ignored "-Wfloat-equal"
17
+ # pragma clang diagnostic ignored "-Wfloat-conversion"
18
+
19
+ # if (__clang_major__ >= 10 && !defined(__APPLE__)) || __clang_major__ >= 13
20
+ # pragma clang diagnostic ignored "-Wdeprecated-copy"
21
+ # endif
22
+
23
+ #elif defined(__GNUC__)
24
+ # pragma GCC diagnostic push
25
+ # pragma GCC diagnostic ignored "-Wold-style-cast"
26
+ # pragma GCC diagnostic ignored "-Wundef"
27
+ # pragma GCC diagnostic ignored "-Wconversion"
28
+ # pragma GCC diagnostic ignored "-Wsign-conversion"
29
+ # pragma GCC diagnostic ignored "-Wfloat-equal"
30
+ # pragma GCC diagnostic ignored "-Wfloat-conversion"
31
+ #endif
32
+
6
33
#include < boost/math/constants/constants.hpp>
7
34
#include < boost/core/lightweight_test.hpp>
8
35
#include < limits>
You can’t perform that action at this time.
0 commit comments