This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/59870] Gcc should warn conversion from "const char*" to "char*" for string literals
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 18 Jan 2014 11:08:11 +0000
- Subject: [Bug c/59870] Gcc should warn conversion from "const char*" to "char*" for string literals
- Auto-submitted: auto-generated
- References: <bug-59870-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59870
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The warning seems to be sufficiently well documented, including the reasons why
it isn't enabled by default, nor in -Wall.