This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Compiler error #40 report
- To: Stephen Friedl <friedl at mtndew dot com>
- Subject: Re: Compiler error #40 report
- From: Mo McKinlay <mmckinlay at labs dot interopen dot org>
- Date: Thu, 23 Mar 2000 01:11:13 +0000 (GMT)
- cc: egcs-bugs at egcs dot cygnus dot com
gcc 2.95.2 on i686-pc-linux-gnu gives the following error:
temp.cc: In function `void format1()':
temp.cc:9: invalid use of type decl `typedef short int date' as expression
So it looks like the bug has been fixed.
# typedef short date;
#
# struct { } ar;
#
# static void
# format1(void)
# {
#
# char *p = ar.date; /* BUG IS HERE */
#
# }
--
Mo McKinlay T: +44 (0) 709 22 55 05 x1
Chief Software Architect F: +44 (0) 709 22 55 05 x3
inter/open E: mmckinlay@labs.interopen.org
A division of Bekon Marketing Limited W: http://www.interopen.org