https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111842
n.deshmukh at samsung dot com <n.deshmukh at samsung dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |---
Status|RESOLVED |UNCONFIRMED
--- Comment #5 from n.deshmukh at samsung dot com <n.deshmukh at samsung dot
com> ---
(In reply to Andrew Pinski from comment #3)
> >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.
(In reply to Eric Gallager from comment #4)
> I think the part about the warning not being controlled by a specific flag
> is still valid, though? It'd fit under the bug 44209 meta-bug.
Yes this is what I meant. Sorry for not being clear in my initial description.
The warning is valid but I wish to suppress it like the other conversion
warning using -Wno flag. But it does not come under a flag. It is still printed
with -Wno-pedantic option.
The code is part of a third party library hence adding a explicit cast is not
possible.