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/48376] New: gcc does not create an ivar for properties


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48376

           Summary: gcc does not create an ivar for properties
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: objc
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: js-gcc@webkeks.org


When declaring a @property without declaring an ivar, gcc should automatically
create the ivar. However, it outputs an error.

Example:

@interface Foo: Object
@property (retain) id bar;
@end


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