[Bug c/64825] -Wcast-qual does not warn about struct members which are arrays
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64825 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill ||a/show_bug.cgi?id=91336 --- Comment #3 from Eric Gallager --- Another bug for a missing -Wcast-qual: bug 91336
[Bug c/64825] -Wcast-qual does not warn about struct members which are arrays
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64825 --- Comment #2 from Eric Gallager --- (In reply to Eric Gallager from comment #1) > 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. Now that I'm on a different computer with a newer version of clang, I can confirm that current clang prints the warning you said it did, too.
[Bug c/64825] -Wcast-qual does not warn about struct members which are arrays
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64825 Eric Gallager 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 --- 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.