This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc/18971] New: Can't send messages to methods with arrays as parameters
- From: "alexander at malmberg dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2004 00:08:01 -0000
- Subject: [Bug objc/18971] New: Can't send messages to methods with arrays as parameters
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Mainline currently complains:
error: incompatible type for argument 1 of 'test2:'
when you try to send a message to a method with an array argument; i.e. the type
of one of the method's arguments is an array; e.g.:
@implementation Test
-(void) test2: (int [5])a
...
The testcase should make it clear.
--
Summary: Can't send messages to methods with arrays as parameters
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: objc
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: alexander at malmberg dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18971