This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc++/21525] New: objc++ cannot handle methods with null terminated array of values
- From: "ajgenius at unit-e dot cc" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 May 2005 23:40:21 -0000
- Subject: [Bug objc++/21525] New: objc++ cannot handle methods with null terminated array of values
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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