latest GCC breaks Objective-C compiler
Ovidiu Predescu
ovidiu@cup.hp.com
Sun Oct 8 01:58:00 GMT 2000
Hi,
It looks like the latest top-of-the-trunk GCC breaks the Objective-C compiler.
I've checked in the repository two tests, np-1.m and np-2.m, that show the
error. The programs are very simple, valid Objective-C programs. Here is the
compiler's error message from the first one; the compilation of the second
program gives a similar error:
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m:18: two or more data types in declaration of `type name'
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m:18: two or more data types in declaration of `type name'
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m:18: two or more data types in declaration of `_i_MyObject__methodA'
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m: In function `-[MyObject methodA]':
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m:18: two or more data types in declaration of `type name'
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m: In function `main':
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m:26: two or more data types in declaration of `type name'
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m: In function `__objc_tmp_0':
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m:30: two or more data types in declaration of `type name'
The tests exercise a very basic functionality in Objective-C and I think it's
pretty bad the compiler fails like this (it used to work fine until maybe a
month and a half ago). I didn't have time to investigate the errors, I hope
I'll have some time in the next few days. If somebody has ideas what could be
wrong, it would be great.
Regards,
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: Exmh version 2.2 06/23/2000
iD8DBQE54Dco1cM8Hy0YC5kRAvwDAJ9G2NMmuA9YkgojFePuTFFR2clfSgCfZyu5
KHiZKvBN+z+w7pZx163bJTI=
=9Oh2
-----END PGP SIGNATURE-----
More information about the Gcc
mailing list