diff --git a/include/boost/math/constants/constants.hpp b/include/boost/math/constants/constants.hpp index d35aa02719..e638587413 100644 --- a/include/boost/math/constants/constants.hpp +++ b/include/boost/math/constants/constants.hpp @@ -27,6 +27,12 @@ #include #include +// There is no other way to suppress -Wpedantic warning that +// comes from using non-standard suffix on float constants +#if defined(BOOST_MATH_USE_FLOAT128) && defined(__GNUC__) +# pragma GCC system_header +#endif + namespace boost{ namespace math {