This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
current GCC broken in handling __FUNCTION__: t.c:8: parse errorbefore string constant
- From: Andreas Jaeger <aj at suse dot de>
- To: gcc-bugs at gcc dot gnu dot org
- Cc: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Sun, 09 Dec 2001 16:58:54 +0100
- Subject: current GCC broken in handling __FUNCTION__: t.c:8: parse errorbefore string constant
I get on this simple function now:
int
main (void)
{
printf ("fatal error in " __FUNCTION__);
return 0;
}
$ /opt/gcc-3.1-checking/bin/gcc t.c
t.c: In function `main':
t.c:8: parse error before string constant
This is with GCC 3.1 from this morning on i686-linux-gnu.
The preproccessed source is simply:
# 1 "t.c"
# 1 "<builtin>"
# 1 "<command line>"
# 1 "t.c"
int
main (void)
{
printf ("fatal error in " __FUNCTION__);
return 0;
}
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj