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: "sbrenneis at surry dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 May 2004 01:08:20 -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 sbrenneis at surry dot net 2004-05-24 01:08 -------
Command line: g++ gcctest.cc
Compiler output:
gcctest.cc: In function `int main(int, char**)':
gcctest.cc:28: error: invalid conversion from `const char*' to `char*'
gcctest.cc:28: error: initializing argument 1 of `void ScopeTest::test(char*)
'
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15624