[Bug c/62037] cannot pass 'int **' as a 'int const* const*' parameter

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 6 15:00:00 GMT 2014


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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Firstly, a warning doesn't mean you cannot do it, you just get a warning.

Secondly, that's the correct behaviour, see
http://c-faq.com/ansi/constmismatch.html



More information about the Gcc-bugs mailing list