https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103862

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Carlos Galvez from comment #0)
> Hi,
> 
> I thought this problem was solved by reading this: 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12258

That is a different issue, there the expression is fully from the system header
while here the constant is from a non-system header.

It looks like the warning is being based on where the inner expression is from
rather than where the cast is located.

Reply via email to