This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20475] static_cast falsely allows const to be cast away
- From: "lerdsuwa at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 May 2005 14:36:55 -0000
- Subject: [Bug c++/20475] static_cast falsely allows const to be cast away
- References: <20050314190251.20475.dcb314@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-05-15 14:36 -------
Yup, string literal should have type 'const char *'.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-05-15 14:36:54
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20475