This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug objc/66367] Objective-C Variadic Method Not Compiling


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66367

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Chris Loonam from comment #2)
> I think that being able to use `id` as an argument to va_arg is the expected
> behavior, not an extension provided by the compiler.

This has nothing to do with id but rather variable arguments is not being
parsed as it is not supported yet.

Variadic have not implemented in the objective-C front-end of GCC.  And that is
why it is an extension to the language.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]