This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15624] Defined types lose const qualifiers in certain method signatures.
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 May 2004 13:47:23 -0000
- Subject: [Bug c++/15624] Defined types lose const qualifiers in certain method signatures.
- References: <20040524010314.15624.sbrenneis@surry.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-05-24 13:47 -------
'const CharPtr' is a constant pointer to a character.
'const char *' is a pointer to a constant character.
The testcase is therefore invalid code, and gcc is correct
in reporting an error.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15624