This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21686] New: [4.0/4.1 Regression] weird quoting in an error message
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 May 2005 21:35:33 -0000
- Subject: [Bug c++/21686] New: [4.0/4.1 Regression] weird quoting in an error message
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Take the following code (which I found while reducing PR 21685):
template <int>
int f(void)
{
int i;
struct f1
{
int f(void){return i;}
};
}
We get:
t1.cc: In member function 'int f()::f1::f()':
t1.cc:7: error: use of %<auto%> variable from containing function
t1.cc:4: error: 'int i' declared here
Notice the use of %< and %>
--
Summary: [4.0/4.1 Regression] weird quoting in an error message
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,gdr at gcc dot gnu dot
org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21686