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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 May 2004 01:33:16 -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 pinskia at gcc dot gnu dot org 2004-05-24 01:33 -------
Here is a smaller example:
typedef char* CharPtr;
void t(const CharPtr);
void f(const char *t1)
{
t(t1);
}
But I think this is invalid.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|../configure --prefix=/usr -|
|-mandir=/usr/share/man -- |
|infodir=/us |
GCC host triplet|Fedora Core 1 |
GCC target triplet|3.3.2 20031022 (Red Hat |
|Linux 3.3.2-1) |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15624