https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81631
--- Comment #3 from Tobias Jordan ---
Hi,
thanks for taking a look, and thanks for your explanation. As far as I
understand it, it's somewhat intuitive that the qualifiers apply to array
elements and not the array type itself. What bugs me is th
: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gcc17 at cwde dot de
Target Milestone: ---
Hi,
--
typedef int footype[6];
extern void const * bar;
void baz(void)
{
footype const * x;
x = (footype const *) bar;
}
--
with -Wcast-qual, this yields