This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15406] New: Missing space between const keyword and type's name in GCC's error message
- From: "v dot haisman at sh dot cvut dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 May 2004 19:31:24 -0000
- Subject: [Bug c++/15406] New: Missing space between const keyword and type's name in GCC's error message
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
GCC's error messages are missing a space between const keyword and type's name.
struct A
{
void foo (int, const A &) {}
void bar ()
{
foo (*this, 1);
}
};
wilx@logout:::~/LOS/uloha2> g++ -c testcase.cxx
testcase.cxx: In member function `void A::bar()':
testcase.cxx:6: error: no matching function for call to `A::foo(A&, int)'
testcase.cxx:3: note: candidates are: void A::foo(int, constA&)
--
Summary: Missing space between const keyword and type's name in
GCC's error message
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: v dot haisman at sh dot cvut dot cz
CC: gcc-bugs at gcc dot gnu dot org,v dot haisman at sh dot
cvut dot cz
GCC build triplet: i386-unknown-freebsd4.10
GCC host triplet: i386-unknown-freebsd4.10
GCC target triplet: i386-unknown-freebsd4.10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15406