This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/6640: missing error hint



>Number:         6640
>Category:       c++
>Synopsis:       missing error hint
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 12 13:46:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     simon.thum@gmx.de
>Release:        gcc 3.0.4
>Organization:
>Environment:
SuSE Linux on AMD Athlon
>Description:
The code is correctly rejected, but gcc usually gives a hint what's wrong - the typename is misspelled. But inside
templates, it seems, this hint message is not generated.
When you make the template a simple class, g++ shows an approriate and helpful message.
>How-To-Repeat:
g++ gccbug.cc
>Fix:
Enable that message for templates too.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="gccbug.cc"; name="gccbug.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="gccbug.cc"

CiNpbmNsdWRlIDxjc3RkbGliPgoKdGVtcGxhdGUgPGNsYXNzIFQ+IGNsYXNzIHNvbWVfdGVtcGxh
dGV7CnB1YmxpYzoKCXZvaWQgc29tZV9mbigpewoJCW5vdF9hX25hbWUgYj0gMDsKCX0KfTsKCg==


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]