[Bug c/62198] spurious warning - initialization discards qualifier from pointer target type for pointer to array
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Wed Aug 20 17:09:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62198
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Sounds like a Clang bug to me. The type pointed to by "const int (*)[10]"
is "array of 10 const int", which is not a const-qualified type.
More information about the Gcc-bugs
mailing list