summaryrefslogtreecommitdiff
path: root/boost/math/special_functions/expint.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/math/special_functions/expint.hpp')
-rw-r--r--boost/math/special_functions/expint.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/boost/math/special_functions/expint.hpp b/boost/math/special_functions/expint.hpp
index fc656f3355..011d8fdcc8 100644
--- a/boost/math/special_functions/expint.hpp
+++ b/boost/math/special_functions/expint.hpp
@@ -22,6 +22,16 @@
#include <boost/math/special_functions/log1p.hpp>
#include <boost/math/special_functions/pow.hpp>
+#if defined(__GNUC__) && defined(BOOST_MATH_USE_FLOAT128)
+//
+// This is the only way we can avoid
+// warning: non-standard suffix on floating constant [-Wpedantic]
+// when building with -Wall -pedantic. Neither __extension__
+// nor #pragma dianostic ignored work :(
+//
+#pragma GCC system_header
+#endif
+
namespace boost{ namespace math{
template <class T, class Policy>