c++/2489: wrong diagnostic
nathan@codesourcery.com
nathan@codesourcery.com
Thu Apr 5 01:06:00 GMT 2001
>Number: 2489
>Category: c++
>Synopsis: wrong diagnostic
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 05 01:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: nathan
>Release: CVS 20010405
>Organization:
>Environment:
any
>Description:
we issue the wrong diagnostic on the attached invalid code.
nathan@manao:48>./g++ -B ./ ../../test/foo.cc -c
../../test/foo.cc: In function `void f()':
../../test/foo.cc:5: no method `C::fn'
rather than 'invalid use of incomplete type `C''
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="foo.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="foo.cc"
Y2xhc3MgQzsKCnZvaWQgZiAoKQp7CiAgQzo6Zm4gKCk7Cn0K
More information about the Gcc-bugs
mailing list