From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7232 invoked by alias); 11 May 2005 23:40:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 7196 invoked by uid 48); 11 May 2005 23:40:21 -0000 Date: Wed, 11 May 2005 23:40:00 -0000 From: "ajgenius at unit-e dot cc" To: gcc-bugs@gcc.gnu.org Message-ID: <20050511234020.21525.ajgenius@unit-e.cc> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug objc++/21525] New: objc++ cannot handle methods with null terminated array of values X-Bugzilla-Reason: CC X-SW-Source: 2005-05/txt/msg01619.txt.bz2 List-Id: Calling methods such as the following from within a .mm file always results in "error: too many arguments to function" @interface Foo : Object + newWith:(int)firstObject, ...; @end void Bar() { id doh = [Foo newWith:1,2,3,4,NULL]; } -- Summary: objc++ cannot handle methods with null terminated array of values Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: objc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ajgenius at unit-e dot cc CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21525