This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/49748] char * const * cannot be assigned to char const * const *
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 14 Jul 2011 16:44:14 +0000
- Subject: [Bug c/49748] char * const * cannot be assigned to char const * const *
- Auto-submitted: auto-generated
- References: <bug-49748-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49748
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-07-14 16:44:08 UTC ---
the bug reporting guidelines clearly ask for a complete and self-contained test
case, not several snippets of code which don't form a complete program
http://gcc.gnu.org/bugs/
the warning is correct, see http://c-faq.com/ansi/constmismatch.html