This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/2005
- To: nobody at gcc dot gnu dot org
- Subject: Re: c++/2005
- From: nathan at gcc dot gnu dot org
- Date: 27 Apr 2001 14:36:01 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: nathan at gcc dot gnu dot org
The following reply was made to PR c++/2005; it has been noted by GNATS.
From: nathan@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org, waratah@zip.com.au
Cc:
Subject: Re: c++/2005
Date: 27 Apr 2001 14:29:28 -0000
Synopsis: loop in gcc when function has const additional
State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Fri Apr 27 10:29:28 2001
State-Changed-Why:
The compiler produces,
incomming/2005.C: In function `void log_error(char*)':
incomming/2005.C:3: `rtrim' undeclared (first use this function)
incomming/2005.C:3: (Each undeclared identifier is reported only once for each
function it appears in.)
incomming/2005.C:4: cannot convert `const char*' to `char*' for argument `1' to
`void log_error(char*)'
which is exactly what I would expect
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2005&database=gcc