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]

Re: Compiler error #40 report



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


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