https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111842
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >Is there a way to disable this warning without using an explicit cast? No and this is by design because this is how C++ defines extended floating point types and implict casts.