Fw: egcs bug reporting.

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Sun May 2 23:01:00 GMT 1999


> I have to announce you for a bug in Linux egcs v 2.90.29, release 2.0.3, =
> 1999 05 15 ( gcc2 ). Note that the C++ source is incorrect according to =
> Borland C++ standards and I am not sure whether it is correct in GNU =
> objective C. However, I hope it will be of help to you. You can find a =
> full bug report is attached.

Thanks for your bug report. egcs-2.93.20 says

t0.cpp:22: `c_t0' is not a template type
t0.cpp: In method `void c_t0::setch(char)':
t0.cpp:25: parse error before `.'
t0.cpp: In method `void c_t0::outpch()':
t0.cpp:26: parse error before `.'
t0.cpp: In function `int main(...)':
t0.cpp:31: non-template type `c_t0' used as a template
t0.cpp:31: ANSI C++ forbids declaration `v_t0' with no type
t0.cpp:33: request for member `setch' in `v_t0', which is of non-aggregate type `int'
t0.cpp:34: request for member `outpch' in `v_t0', which is of non-aggregate type `int'

so it seems that the bug has been fixed.

Regards,
Martin


More information about the Gcc-bugs mailing list