This is the mail archive of the gcc@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]

ObjC: attributes on methods




   It doesn't look like attributes can be applied to ObjC methods:

@interface Foo
+ (void) printf: (const char *) fmt, ... __attribute__ ((format (printf, 
3, 4)));
@end

   Is there any major reason for this, or is it just because no one has 
wanted it before?

-tim


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