[Bug objc/18971] New: Can't send messages to methods with arrays as parameters

alexander at malmberg dot org gcc-bugzilla@gcc.gnu.org
Tue Dec 14 00:08:00 GMT 2004


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



More information about the Gcc-bugs mailing list