public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15406] New: Missing space between const keyword and type's name in GCC's error message
@ 2004-05-13 11:25 v dot haisman at sh dot cvut dot cz
  2004-05-13 11:31 ` [Bug c++/15406] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2004-05-13 11:25 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/15406] Missing space between const keyword and type's name in GCC's error message
  2004-05-13 11:25 [Bug c++/15406] New: Missing space between const keyword and type's name in GCC's error message v dot haisman at sh dot cvut dot cz
@ 2004-05-13 11:31 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-13 11:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-12 19:36 -------
This is a dup of bug 14913.

*** This bug has been marked as a duplicate of 14913 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |diagnostic
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15406


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-12 19:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-13 11:25 [Bug c++/15406] New: Missing space between const keyword and type's name in GCC's error message v dot haisman at sh dot cvut dot cz
2004-05-13 11:31 ` [Bug c++/15406] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).