[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
Thu Aug 21 16:54:00 GMT 2014


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

--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
It's not possible for an array type to be qualified, so you need a cast to 
avoid the warning.



More information about the Gcc-bugs mailing list