[Bug c/64825] -Wcast-qual does not warn about struct members which are arrays

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 28 16:20:00 GMT 2017


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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-07-28
                 CC|                            |egallager at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
Confirmed that gcc doesn't warn, although my version of clang is older so it
doesn't warn either. Still, would be nice to have.


More information about the Gcc-bugs mailing list