diff options
Diffstat (limited to 'boost/math/special_functions/digamma.hpp')
-rw-r--r-- | boost/math/special_functions/digamma.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/boost/math/special_functions/digamma.hpp b/boost/math/special_functions/digamma.hpp index f6431c67a6..41d9360d07 100644 --- a/boost/math/special_functions/digamma.hpp +++ b/boost/math/special_functions/digamma.hpp @@ -21,6 +21,16 @@ #include <boost/mpl/comparison.hpp> #include <boost/math/tools/big_constant.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{ namespace detail{ |