diff options
Diffstat (limited to 'boost/math/special_functions/detail/igamma_large.hpp')
-rw-r--r-- | boost/math/special_functions/detail/igamma_large.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/boost/math/special_functions/detail/igamma_large.hpp b/boost/math/special_functions/detail/igamma_large.hpp index eb3d4ba93e..59a75b1433 100644 --- a/boost/math/special_functions/detail/igamma_large.hpp +++ b/boost/math/special_functions/detail/igamma_large.hpp @@ -49,6 +49,16 @@ #pragma once #endif +#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{ // This version will never be called (at runtime), it's a stub used |