bugGNUstep - Bugs: bug #17069, iVars offsets are not correctly...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #17069: iVars offsets are not correctly set in GSObjCMakeClass.

Submitted by:  Baptiste HEYMAN <baptisteheyman>
Submitted on:  Sun 09 Jul 2006 10:06:39 AM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sun 06 Aug 2006 05:28:03 AM UTC, comment #1:

Fixed in SVN, Thanks

Richard Frith-Macdonald <CaS>
Project Member
Sun 09 Jul 2006 10:06:39 AM UTC, original submission:

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;

?

Baptiste HEYMAN <baptisteheyman>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 06 Aug 2006 05:28:24 AM UTCCaSStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1