diff options
Diffstat (limited to 'boost/math/constants/constants.hpp')
-rw-r--r-- | boost/math/constants/constants.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/boost/math/constants/constants.hpp b/boost/math/constants/constants.hpp index 19edc5b0e7..0a32e5d474 100644 --- a/boost/math/constants/constants.hpp +++ b/boost/math/constants/constants.hpp @@ -27,6 +27,15 @@ #include <boost/type_traits/is_convertible.hpp> #include <boost/utility/declval.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 { |