URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=17069>

                 Summary: iVars offsets are not correctly set in
GSObjCMakeClass.
                 Project: GNUstep
            Submitted by: baptisteheyman
            Submitted on: dimanche 09.07.2006 à 10:06
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

shouldn't

// align the ivar (i.e. put it on the first aligned address
iVarSize = objc_aligned_size(ivar->ivar_type);
ivar->ivar_offset = iVarSize;
iVarSize += objc_sizeof_type(ivar->ivar_type); // add the ivar size
ivar = ivar + 1;

be

ivar->ivar_offset = iVarSize;
iVarSize += objc_aligned_size(ivar->ivar_type); // add the ivar aligned size
ivar = ivar + 1;

?






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=17069>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to