nested typedef reports bogus error in egcs-2.91.57
Darrin B. Jewell
jewell@MIT.EDU
Fri Oct 23 23:03:00 GMT 1998
I observe the following unexpected behavior from egcs.
$ echo "class foo { typedef int qux[]; };" > foo.cc
$ g++ foo.cc
foo.cc:1: pointer/reference to array of unknown bound in parm type
$ g++ -v
Using builtin specs.
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
$ uname -a
NetBSD pan-fried-peking-ravioli 1.3H NetBSD 1.3H (PAN-FRIED-PEKING-RAVIOLI) #6: Fri Oct 23 13:26:52 EDT 1998 root@:/u2/PAN-FRIED-PEKING-RAVIOLI i386
Let me know if you need any more information to reproduce or fix this bug.
Thanks,
Darrin
More information about the Gcc-bugs
mailing list