Skip to content

Commit 19f166b

Browse files
committed
Ignore mapairy literal range warnings
1 parent 6d19b67 commit 19f166b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

test/test_mapairy.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
// Boost Software License, Version 1.0. (See accompanying file
55
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
66

7+
#ifdef __clang__
8+
# pragma clang diagnostic push
9+
# pragma clang diagnostic ignored "-Wliteral-range"
10+
#elif defined(__GNUC__)
11+
# pragma gcc diagnostic push
12+
# pragma gcc diagnostic ignored "-Wliteral-range"
13+
#endif
14+
715
#define BOOST_TEST_MAIN
816
#define BOOST_TEST_MODULE StatsMapAiryTest
917
#include <boost/math/tools/config.hpp>

0 commit comments

Comments
 (0)