This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]